Class CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53recoveryreadiness.CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSetPropsMixin.DNSTargetResourceProperty>
- Enclosing interface:
CfnResourceSetPropsMixin.DNSTargetResourceProperty
@Stability(Stable)
public static final class CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSetPropsMixin.DNSTargetResourceProperty>
A builder for
CfnResourceSetPropsMixin.DNSTargetResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainName(String domainName) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getDomainName()hostedZoneArn(String hostedZoneArn) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getHostedZoneArn()recordSetId(String recordSetId) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getRecordSetId()recordType(String recordType) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getRecordType()targetResource(CfnResourceSetPropsMixin.TargetResourceProperty targetResource) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getTargetResource()targetResource(IResolvable targetResource) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getTargetResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
@Stability(Stable) public CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder domainName(String domainName) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getDomainName()- Parameters:
domainName- The domain name that acts as an ingress point to a portion of the customer application.- Returns:
this
-
hostedZoneArn
@Stability(Stable) public CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder hostedZoneArn(String hostedZoneArn) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getHostedZoneArn()- Parameters:
hostedZoneArn- The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.- Returns:
this
-
recordSetId
@Stability(Stable) public CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder recordSetId(String recordSetId) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getRecordSetId()- Parameters:
recordSetId- The Amazon Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.- Returns:
this
-
recordType
@Stability(Stable) public CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder recordType(String recordType) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getRecordType()- Parameters:
recordType- The type of DNS record of the target resource.- Returns:
this
-
targetResource
@Stability(Stable) public CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder targetResource(IResolvable targetResource) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getTargetResource()- Parameters:
targetResource- The target resource that the Route 53 record points to.- Returns:
this
-
targetResource
@Stability(Stable) public CfnResourceSetPropsMixin.DNSTargetResourceProperty.Builder targetResource(CfnResourceSetPropsMixin.TargetResourceProperty targetResource) Sets the value ofCfnResourceSetPropsMixin.DNSTargetResourceProperty.getTargetResource()- Parameters:
targetResource- The target resource that the Route 53 record points to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceSetPropsMixin.DNSTargetResourceProperty>- Returns:
- a new instance of
CfnResourceSetPropsMixin.DNSTargetResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-