Class CfnDHCPOptionsPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDHCPOptionsPropsMixin>
- Enclosing class:
CfnDHCPOptionsPropsMixin
CfnDHCPOptionsPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) domainName(String domainName) This value is used to complete unqualified DNS hostnames.domainNameServers(List<String> domainNameServers) The IPv4 addresses of up to four domain name servers, orAmazonProvidedDNS.ipv6AddressPreferredLeaseTime(Number ipv6AddressPreferredLeaseTime) A value (in seconds, minutes, hours, or years) for how frequently a running instance with an IPv6 assigned to it goes through DHCPv6 lease renewal.netbiosNameServers(List<String> netbiosNameServers) The IPv4 addresses of up to four NetBIOS name servers.netbiosNodeType(Number netbiosNodeType) The NetBIOS node type (1, 2, 4, or 8).ntpServers(List<String> ntpServers) The IPv4 addresses of up to four Network Time Protocol (NTP) servers.Any tags assigned to the DHCP options set.
-
Method Details
-
create
@Stability(Stable) public static CfnDHCPOptionsPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDHCPOptionsPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDHCPOptionsPropsMixin.Builder.
-
domainName
This value is used to complete unqualified DNS hostnames.If you're using AmazonProvidedDNS in
us-east-1, specifyec2.internal. If you're using AmazonProvidedDNS in another Region, specify region .compute.internal(for example,ap-northeast-1.compute.internal). Otherwise, specify a domain name (for example, MyCompany.com ).- Parameters:
domainName- This value is used to complete unqualified DNS hostnames. This parameter is required.- Returns:
this- See Also:
-
domainNameServers
@Stability(Stable) public CfnDHCPOptionsPropsMixin.Builder domainNameServers(List<String> domainNameServers) The IPv4 addresses of up to four domain name servers, orAmazonProvidedDNS.The default is
AmazonProvidedDNS. To have your instance receive a custom DNS hostname as specified inDomainName, you must set this property to a custom DNS server.- Parameters:
domainNameServers- The IPv4 addresses of up to four domain name servers, orAmazonProvidedDNS. This parameter is required.- Returns:
this- See Also:
-
ipv6AddressPreferredLeaseTime
@Stability(Stable) public CfnDHCPOptionsPropsMixin.Builder ipv6AddressPreferredLeaseTime(Number ipv6AddressPreferredLeaseTime) A value (in seconds, minutes, hours, or years) for how frequently a running instance with an IPv6 assigned to it goes through DHCPv6 lease renewal.Acceptable values are between 140 and 2147483647 seconds (approximately 68 years). If no value is entered, the default lease time is 140 seconds. If you use long-term addressing for EC2 instances, you can increase the lease time and avoid frequent lease renewal requests. Lease renewal typically occurs when half of the lease time has elapsed.
- Parameters:
ipv6AddressPreferredLeaseTime- A value (in seconds, minutes, hours, or years) for how frequently a running instance with an IPv6 assigned to it goes through DHCPv6 lease renewal. This parameter is required.- Returns:
this- See Also:
-
netbiosNameServers
@Stability(Stable) public CfnDHCPOptionsPropsMixin.Builder netbiosNameServers(List<String> netbiosNameServers) The IPv4 addresses of up to four NetBIOS name servers.- Parameters:
netbiosNameServers- The IPv4 addresses of up to four NetBIOS name servers. This parameter is required.- Returns:
this- See Also:
-
netbiosNodeType
The NetBIOS node type (1, 2, 4, or 8).We recommend that you specify 2 (broadcast and multicast are not currently supported).
- Parameters:
netbiosNodeType- The NetBIOS node type (1, 2, 4, or 8). This parameter is required.- Returns:
this- See Also:
-
ntpServers
The IPv4 addresses of up to four Network Time Protocol (NTP) servers.- Parameters:
ntpServers- The IPv4 addresses of up to four Network Time Protocol (NTP) servers. This parameter is required.- Returns:
this- See Also:
-
tags
Any tags assigned to the DHCP options set.- Parameters:
tags- Any tags assigned to the DHCP options set. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDHCPOptionsPropsMixin>- Returns:
- a newly built instance of
CfnDHCPOptionsPropsMixin.
-