Class CfnCidrCollectionPropsMixin.LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnCidrCollectionPropsMixin.LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCidrCollectionPropsMixin.LocationProperty>
- Enclosing interface:
CfnCidrCollectionPropsMixin.LocationProperty
@Stability(Stable)
public static final class CfnCidrCollectionPropsMixin.LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCidrCollectionPropsMixin.LocationProperty>
A builder for
CfnCidrCollectionPropsMixin.LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCidrCollectionPropsMixin.LocationProperty.getCidrList()locationName(String locationName) Sets the value ofCfnCidrCollectionPropsMixin.LocationProperty.getLocationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrList
@Stability(Stable) public CfnCidrCollectionPropsMixin.LocationProperty.Builder cidrList(List<String> cidrList) Sets the value ofCfnCidrCollectionPropsMixin.LocationProperty.getCidrList()- Parameters:
cidrList- List of CIDR blocks.- Returns:
this
-
locationName
@Stability(Stable) public CfnCidrCollectionPropsMixin.LocationProperty.Builder locationName(String locationName) Sets the value ofCfnCidrCollectionPropsMixin.LocationProperty.getLocationName()- Parameters:
locationName- The CIDR collection location name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCidrCollectionPropsMixin.LocationProperty>- Returns:
- a new instance of
CfnCidrCollectionPropsMixin.LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-