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