Class CfnAnycastIpList.IpamCidrConfigResultProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnAnycastIpList.IpamCidrConfigResultProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnycastIpList.IpamCidrConfigResultProperty>
- Enclosing interface:
CfnAnycastIpList.IpamCidrConfigResultProperty
@Stability(Stable)
public static final class CfnAnycastIpList.IpamCidrConfigResultProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnycastIpList.IpamCidrConfigResultProperty>
A builder for
CfnAnycastIpList.IpamCidrConfigResultProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getAnycastIp()build()Builds the configured instance.Sets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getCidr()ipamPoolArn(String ipamPoolArn) Sets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getIpamPoolArn()Sets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anycastIp
@Stability(Stable) public CfnAnycastIpList.IpamCidrConfigResultProperty.Builder anycastIp(String anycastIp) Sets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getAnycastIp()- Parameters:
anycastIp- the value to be set.- Returns:
this
-
cidr
Sets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getCidr()- Parameters:
cidr- the value to be set.- Returns:
this
-
ipamPoolArn
@Stability(Stable) public CfnAnycastIpList.IpamCidrConfigResultProperty.Builder ipamPoolArn(String ipamPoolArn) Sets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getIpamPoolArn()- Parameters:
ipamPoolArn- the value to be set.- Returns:
this
-
status
@Stability(Stable) public CfnAnycastIpList.IpamCidrConfigResultProperty.Builder status(String status) Sets the value ofCfnAnycastIpList.IpamCidrConfigResultProperty.getStatus()- Parameters:
status- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnycastIpList.IpamCidrConfigResultProperty>- Returns:
- a new instance of
CfnAnycastIpList.IpamCidrConfigResultProperty - Throws:
NullPointerException- if any required attribute was not provided
-