Class CfnAnycastIpList.IpamCidrConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnAnycastIpList.IpamCidrConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnycastIpList.IpamCidrConfigProperty>
- Enclosing interface:
CfnAnycastIpList.IpamCidrConfigProperty
@Stability(Stable)
public static final class CfnAnycastIpList.IpamCidrConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnycastIpList.IpamCidrConfigProperty>
A builder for
CfnAnycastIpList.IpamCidrConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnycastIpList.IpamCidrConfigProperty.getCidr()ipamPoolArn(String ipamPoolArn) Sets the value ofCfnAnycastIpList.IpamCidrConfigProperty.getIpamPoolArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
Sets the value ofCfnAnycastIpList.IpamCidrConfigProperty.getCidr()- Parameters:
cidr- The CIDR that specifies the IP address range for this IPAM configuration. This parameter is required.- Returns:
this
-
ipamPoolArn
@Stability(Stable) public CfnAnycastIpList.IpamCidrConfigProperty.Builder ipamPoolArn(String ipamPoolArn) Sets the value ofCfnAnycastIpList.IpamCidrConfigProperty.getIpamPoolArn()- Parameters:
ipamPoolArn- The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnycastIpList.IpamCidrConfigProperty>- Returns:
- a new instance of
CfnAnycastIpList.IpamCidrConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-