Interface Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Resource.Builder,
,Resource> SdkBuilder<Resource.Builder,
,Resource> SdkPojo
- Enclosing class:
Resource
public static interface Resource.Builder
extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentId
(String componentId) The component identifier of the resource, generated when DNS target resource is used.default Resource.Builder
dnsTargetResource
(Consumer<DNSTargetResource.Builder> dnsTargetResource) The DNS target resource.dnsTargetResource
(DNSTargetResource dnsTargetResource) The DNS target resource.readinessScopes
(String... readinessScopes) A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.readinessScopes
(Collection<String> readinessScopes) A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the Amazon Web Services 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
-
componentId
The component identifier of the resource, generated when DNS target resource is used.
- Parameters:
componentId
- The component identifier of the resource, generated when DNS target resource is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsTargetResource
The DNS target resource.
- Parameters:
dnsTargetResource
- The DNS target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsTargetResource
The DNS target resource.
This is a convenience method that creates an instance of theDNSTargetResource.Builder
avoiding the need to create one manually viaDNSTargetResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsTargetResource(DNSTargetResource)
.- Parameters:
dnsTargetResource
- a consumer that will call methods onDNSTargetResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
readinessScopes
A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.
- Parameters:
readinessScopes
- A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readinessScopes
A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.
- Parameters:
readinessScopes
- A list of recovery group Amazon Resource Names (ARNs) and cell ARNs that this resource is contained within.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The Amazon Resource Name (ARN) of the Amazon Web Services resource.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-