Class CfnCidrCollectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnCidrCollectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCidrCollectionMixinProps>
- Enclosing interface:
CfnCidrCollectionMixinProps
@Stability(Stable)
public static final class CfnCidrCollectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCidrCollectionMixinProps>
A builder for
CfnCidrCollectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCidrCollectionMixinProps.getLocations()locations(IResolvable locations) Sets the value ofCfnCidrCollectionMixinProps.getLocations()Sets the value ofCfnCidrCollectionMixinProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
locations
Sets the value ofCfnCidrCollectionMixinProps.getLocations()- Parameters:
locations- A complex type that contains information about the list of CIDR locations.- Returns:
this
-
locations
@Stability(Stable) public CfnCidrCollectionMixinProps.Builder locations(List<? extends Object> locations) Sets the value ofCfnCidrCollectionMixinProps.getLocations()- Parameters:
locations- A complex type that contains information about the list of CIDR locations.- Returns:
this
-
name
Sets the value ofCfnCidrCollectionMixinProps.getName()- Parameters:
name- The name of a CIDR collection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCidrCollectionMixinProps>- Returns:
- a new instance of
CfnCidrCollectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-