Class CidrCollectionReference.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CidrCollectionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CidrCollectionReference>
- Enclosing interface:
CidrCollectionReference
@Stability(Stable)
public static final class CidrCollectionReference.Builder
extends Object
implements software.amazon.jsii.Builder<CidrCollectionReference>
A builder for
CidrCollectionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cidrCollectionArn
(String cidrCollectionArn) Sets the value ofCidrCollectionReference.getCidrCollectionArn()
cidrCollectionId
(String cidrCollectionId) Sets the value ofCidrCollectionReference.getCidrCollectionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrCollectionArn
@Stability(Stable) public CidrCollectionReference.Builder cidrCollectionArn(String cidrCollectionArn) Sets the value ofCidrCollectionReference.getCidrCollectionArn()
- Parameters:
cidrCollectionArn
- The ARN of the CidrCollection resource. This parameter is required.- Returns:
this
-
cidrCollectionId
Sets the value ofCidrCollectionReference.getCidrCollectionId()
- Parameters:
cidrCollectionId
- The Id of the CidrCollection resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CidrCollectionReference>
- Returns:
- a new instance of
CidrCollectionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-