Class CfnResolverEndpoint.IpAddressRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnResolverEndpoint.IpAddressRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResolverEndpoint.IpAddressRequestProperty>
- Enclosing interface:
- CfnResolverEndpoint.IpAddressRequestProperty
@Stability(Stable)
public static final class CfnResolverEndpoint.IpAddressRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResolverEndpoint.IpAddressRequestProperty>
A builder for
CfnResolverEndpoint.IpAddressRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnResolverEndpoint.IpAddressRequestProperty.getIp()Sets the value ofCfnResolverEndpoint.IpAddressRequestProperty.getIpv6()Sets the value ofCfnResolverEndpoint.IpAddressRequestProperty.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
subnetId
@Stability(Stable) public CfnResolverEndpoint.IpAddressRequestProperty.Builder subnetId(String subnetId) Sets the value ofCfnResolverEndpoint.IpAddressRequestProperty.getSubnetId()- Parameters:
subnetId- The ID of the subnet that contains the IP address. This parameter is required.- Returns:
this
-
ip
Sets the value ofCfnResolverEndpoint.IpAddressRequestProperty.getIp()- Parameters:
ip- The IPv4 address that you want to use for DNS queries.- Returns:
this
-
ipv6
Sets the value ofCfnResolverEndpoint.IpAddressRequestProperty.getIpv6()- Parameters:
ipv6- The IPv6 address that you want to use for DNS queries.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResolverEndpoint.IpAddressRequestProperty>- Returns:
- a new instance of
CfnResolverEndpoint.IpAddressRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-