public static final class CfnResourceSet.DNSTargetResourceProperty.Builder
extends java.lang.Object
CfnResourceSet.DNSTargetResourceProperty
Constructor and Description |
---|
Builder() |
public CfnResourceSet.DNSTargetResourceProperty.Builder domainName(java.lang.String domainName)
CfnResourceSet.DNSTargetResourceProperty.getDomainName()
domainName
- The domain name that acts as an ingress point to a portion of the customer application.this
public CfnResourceSet.DNSTargetResourceProperty.Builder hostedZoneArn(java.lang.String hostedZoneArn)
CfnResourceSet.DNSTargetResourceProperty.getHostedZoneArn()
hostedZoneArn
- The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.this
public CfnResourceSet.DNSTargetResourceProperty.Builder recordSetId(java.lang.String recordSetId)
CfnResourceSet.DNSTargetResourceProperty.getRecordSetId()
recordSetId
- The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.this
public CfnResourceSet.DNSTargetResourceProperty.Builder recordType(java.lang.String recordType)
CfnResourceSet.DNSTargetResourceProperty.getRecordType()
recordType
- The type of DNS record of the target resource.this
public CfnResourceSet.DNSTargetResourceProperty.Builder targetResource(IResolvable targetResource)
CfnResourceSet.DNSTargetResourceProperty.getTargetResource()
targetResource
- The target resource that the Route 53 record points to.this
public CfnResourceSet.DNSTargetResourceProperty.Builder targetResource(CfnResourceSet.TargetResourceProperty targetResource)
CfnResourceSet.DNSTargetResourceProperty.getTargetResource()
targetResource
- The target resource that the Route 53 record points to.this
public CfnResourceSet.DNSTargetResourceProperty build()
CfnResourceSet.DNSTargetResourceProperty
java.lang.NullPointerException
- if any required attribute was not provided