Interface DNSTargetResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DNSTargetResource.Builder,
,DNSTargetResource> SdkBuilder<DNSTargetResource.Builder,
,DNSTargetResource> SdkPojo
- Enclosing class:
DNSTargetResource
public static interface DNSTargetResource.Builder
extends SdkPojo, CopyableBuilder<DNSTargetResource.Builder,DNSTargetResource>
-
Method Summary
Modifier and TypeMethodDescriptiondomainName
(String domainName) The domain name that acts as an ingress point to a portion of the customer application.hostedZoneArn
(String hostedZoneArn) The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.recordSetId
(String recordSetId) The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.recordType
(String recordType) The type of DNS record of the target resource.default DNSTargetResource.Builder
targetResource
(Consumer<TargetResource.Builder> targetResource) The target resource of the DNS target resource.targetResource
(TargetResource targetResource) The target resource of the DNS target resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
domainName
The domain name that acts as an ingress point to a portion of the customer application.
- Parameters:
domainName
- The domain name that acts as an ingress point to a portion of the customer application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZoneArn
The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.
- Parameters:
hostedZoneArn
- The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordSetId
The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.
- Parameters:
recordSetId
- The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordType
The type of DNS record of the target resource.
- Parameters:
recordType
- The type of DNS record of the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResource
The target resource of the DNS target resource.
- Parameters:
targetResource
- The target resource of the DNS target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResource
The target resource of the DNS target resource.
This is a convenience method that creates an instance of theTargetResource.Builder
avoiding the need to create one manually viaTargetResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetResource(TargetResource)
.- Parameters:
targetResource
- a consumer that will call methods onTargetResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-