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.Builder
customDnsServers(String... customDnsServers)
The IPv4 address range, in CIDR notation, of the DNS servers to be used.DnsServersOptionsModifyStructure.Builder
customDnsServers(Collection<String> customDnsServers)
The IPv4 address range, in CIDR notation, of the DNS servers to be used.DnsServersOptionsModifyStructure.Builder
enabled(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, 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
False
to delete the existing DNS servers.- Parameters:
enabled
- Indicates whether DNS servers should be used. SpecifyFalse
to delete the existing DNS servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-