Class CfnRecordSet.CidrRoutingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnRecordSet.CidrRoutingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRecordSet.CidrRoutingConfigProperty>
- Enclosing interface:
- CfnRecordSet.CidrRoutingConfigProperty
@Stability(Stable)
public static final class CfnRecordSet.CidrRoutingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRecordSet.CidrRoutingConfigProperty>
A builder for
CfnRecordSet.CidrRoutingConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.collectionId
(String collectionId) Sets the value ofCfnRecordSet.CidrRoutingConfigProperty.getCollectionId()
locationName
(String locationName) Sets the value ofCfnRecordSet.CidrRoutingConfigProperty.getLocationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionId
@Stability(Stable) public CfnRecordSet.CidrRoutingConfigProperty.Builder collectionId(String collectionId) Sets the value ofCfnRecordSet.CidrRoutingConfigProperty.getCollectionId()
- Parameters:
collectionId
- The CIDR collection ID. This parameter is required.- Returns:
this
-
locationName
@Stability(Stable) public CfnRecordSet.CidrRoutingConfigProperty.Builder locationName(String locationName) Sets the value ofCfnRecordSet.CidrRoutingConfigProperty.getLocationName()
- Parameters:
locationName
- The CIDR collection location name. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRecordSet.CidrRoutingConfigProperty>
- Returns:
- a new instance of
CfnRecordSet.CidrRoutingConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-