Class CfnResourceSet.R53ResourceRecordProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSet.R53ResourceRecordProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSet.R53ResourceRecordProperty>
- Enclosing interface:
CfnResourceSet.R53ResourceRecordProperty
@Stability(Stable)
public static final class CfnResourceSet.R53ResourceRecordProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSet.R53ResourceRecordProperty>
A builder for
CfnResourceSet.R53ResourceRecordProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainName
(String domainName) Sets the value ofCfnResourceSet.R53ResourceRecordProperty.getDomainName()
recordSetId
(String recordSetId) Sets the value ofCfnResourceSet.R53ResourceRecordProperty.getRecordSetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
@Stability(Stable) public CfnResourceSet.R53ResourceRecordProperty.Builder domainName(String domainName) Sets the value ofCfnResourceSet.R53ResourceRecordProperty.getDomainName()
- Parameters:
domainName
- The DNS target domain name.- Returns:
this
-
recordSetId
@Stability(Stable) public CfnResourceSet.R53ResourceRecordProperty.Builder recordSetId(String recordSetId) Sets the value ofCfnResourceSet.R53ResourceRecordProperty.getRecordSetId()
- Parameters:
recordSetId
- The Amazon Route 53 Resource Record Set ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceSet.R53ResourceRecordProperty>
- Returns:
- a new instance of
CfnResourceSet.R53ResourceRecordProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-