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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DNSTargetResource.BuilderdomainName(String domainName)The domain name that acts as an ingress point to a portion of the customer application.DNSTargetResource.BuilderhostedZoneArn(String hostedZoneArn)The hosted zone Amazon Resource Name (ARN) that contains the DNS record with the provided name of the target resource.DNSTargetResource.BuilderrecordSetId(String recordSetId)The Route 53 record set ID that uniquely identifies a DNS record, given a name and a type.DNSTargetResource.BuilderrecordType(String recordType)The type of DNS record of the target resource.default DNSTargetResource.BuildertargetResource(Consumer<TargetResource.Builder> targetResource)The target resource of the DNS target resource.DNSTargetResource.BuildertargetResource(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 Detail
-
domainName
DNSTargetResource.Builder domainName(String 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
DNSTargetResource.Builder hostedZoneArn(String 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
DNSTargetResource.Builder recordSetId(String 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
DNSTargetResource.Builder recordType(String 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
DNSTargetResource.Builder targetResource(TargetResource 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
default DNSTargetResource.Builder targetResource(Consumer<TargetResource.Builder> targetResource)
The target resource of the DNS target resource.
This is a convenience method that creates an instance of theTargetResource.Builderavoiding the need to create one manually viaTargetResource.builder().When the
Consumercompletes,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:
targetResource(TargetResource)
-
-