Interface DnsServersOptionsModifyStructure.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DnsServersOptionsModifyStructure.Builder,DnsServersOptionsModifyStructure>,SdkBuilder<DnsServersOptionsModifyStructure.Builder,DnsServersOptionsModifyStructure>,SdkPojo
- Enclosing class:
- DnsServersOptionsModifyStructure
public static interface DnsServersOptionsModifyStructure.Builder extends SdkPojo, CopyableBuilder<DnsServersOptionsModifyStructure.Builder,DnsServersOptionsModifyStructure>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsServersOptionsModifyStructure.BuildercustomDnsServers(String... customDnsServers)The IPv4 address range, in CIDR notation, of the DNS servers to be used.DnsServersOptionsModifyStructure.BuildercustomDnsServers(Collection<String> customDnsServers)The IPv4 address range, in CIDR notation, of the DNS servers to be used.DnsServersOptionsModifyStructure.Builderenabled(Boolean enabled)Indicates whether DNS servers should be used.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
customDnsServers
DnsServersOptionsModifyStructure.Builder customDnsServers(Collection<String> customDnsServers)
The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.
- Parameters:
customDnsServers- The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDnsServers
DnsServersOptionsModifyStructure.Builder customDnsServers(String... customDnsServers)
The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.
- Parameters:
customDnsServers- The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
DnsServersOptionsModifyStructure.Builder enabled(Boolean enabled)
Indicates whether DNS servers should be used. Specify
Falseto delete the existing DNS servers.- Parameters:
enabled- Indicates whether DNS servers should be used. SpecifyFalseto delete the existing DNS servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-