@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface DlmAsyncClient extends AwsClient
builder()
method.
With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create lifecycle policies, which are used to automate operations on the specified resources.
Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager with Amazon EBS, see Amazon Data Lifecycle Manager in the Amazon EC2 User Guide.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static DlmAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
DlmAsyncClient. |
static DlmAsyncClient |
create()
Create a
DlmAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateLifecyclePolicyResponse> |
createLifecyclePolicy(Consumer<CreateLifecyclePolicyRequest.Builder> createLifecyclePolicyRequest)
Creates a policy to manage the lifecycle of the specified Amazon Web Services resources.
|
default CompletableFuture<CreateLifecyclePolicyResponse> |
createLifecyclePolicy(CreateLifecyclePolicyRequest createLifecyclePolicyRequest)
Creates a policy to manage the lifecycle of the specified Amazon Web Services resources.
|
default CompletableFuture<DeleteLifecyclePolicyResponse> |
deleteLifecyclePolicy(Consumer<DeleteLifecyclePolicyRequest.Builder> deleteLifecyclePolicyRequest)
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
|
default CompletableFuture<DeleteLifecyclePolicyResponse> |
deleteLifecyclePolicy(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest)
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
|
default CompletableFuture<GetLifecyclePoliciesResponse> |
getLifecyclePolicies()
Gets summary information about all or the specified data lifecycle policies.
|
default CompletableFuture<GetLifecyclePoliciesResponse> |
getLifecyclePolicies(Consumer<GetLifecyclePoliciesRequest.Builder> getLifecyclePoliciesRequest)
Gets summary information about all or the specified data lifecycle policies.
|
default CompletableFuture<GetLifecyclePoliciesResponse> |
getLifecyclePolicies(GetLifecyclePoliciesRequest getLifecyclePoliciesRequest)
Gets summary information about all or the specified data lifecycle policies.
|
default CompletableFuture<GetLifecyclePolicyResponse> |
getLifecyclePolicy(Consumer<GetLifecyclePolicyRequest.Builder> getLifecyclePolicyRequest)
Gets detailed information about the specified lifecycle policy.
|
default CompletableFuture<GetLifecyclePolicyResponse> |
getLifecyclePolicy(GetLifecyclePolicyRequest getLifecyclePolicyRequest)
Gets detailed information about the specified lifecycle policy.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default DlmServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds the specified tags to the specified resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the specified resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
|
default CompletableFuture<UpdateLifecyclePolicyResponse> |
updateLifecyclePolicy(Consumer<UpdateLifecyclePolicyRequest.Builder> updateLifecyclePolicyRequest)
Updates the specified lifecycle policy.
|
default CompletableFuture<UpdateLifecyclePolicyResponse> |
updateLifecyclePolicy(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest)
Updates the specified lifecycle policy.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<CreateLifecyclePolicyResponse> createLifecyclePolicy(CreateLifecyclePolicyRequest createLifecyclePolicyRequest)
Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can create up to 100 lifecycle policies.
createLifecyclePolicyRequest - default CompletableFuture<CreateLifecyclePolicyResponse> createLifecyclePolicy(Consumer<CreateLifecyclePolicyRequest.Builder> createLifecyclePolicyRequest)
Creates a policy to manage the lifecycle of the specified Amazon Web Services resources. You can create up to 100 lifecycle policies.
This is a convenience which creates an instance of the CreateLifecyclePolicyRequest.Builder avoiding the
need to create one manually via CreateLifecyclePolicyRequest.builder()
createLifecyclePolicyRequest - A Consumer that will call methods on
CreateLifecyclePolicyRequest.Builder to create a
request.default CompletableFuture<DeleteLifecyclePolicyResponse> deleteLifecyclePolicy(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest)
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
For more information about deleting a policy, see Delete lifecycle policies.
deleteLifecyclePolicyRequest - default CompletableFuture<DeleteLifecyclePolicyResponse> deleteLifecyclePolicy(Consumer<DeleteLifecyclePolicyRequest.Builder> deleteLifecyclePolicyRequest)
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
For more information about deleting a policy, see Delete lifecycle policies.
This is a convenience which creates an instance of the DeleteLifecyclePolicyRequest.Builder avoiding the
need to create one manually via DeleteLifecyclePolicyRequest.builder()
deleteLifecyclePolicyRequest - A Consumer that will call methods on
DeleteLifecyclePolicyRequest.Builder to create a
request.default CompletableFuture<GetLifecyclePoliciesResponse> getLifecyclePolicies(GetLifecyclePoliciesRequest getLifecyclePoliciesRequest)
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
getLifecyclePoliciesRequest - default CompletableFuture<GetLifecyclePoliciesResponse> getLifecyclePolicies(Consumer<GetLifecyclePoliciesRequest.Builder> getLifecyclePoliciesRequest)
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
This is a convenience which creates an instance of the GetLifecyclePoliciesRequest.Builder avoiding the
need to create one manually via GetLifecyclePoliciesRequest.builder()
getLifecyclePoliciesRequest - A Consumer that will call methods on
GetLifecyclePoliciesRequest.Builder to create a request.default CompletableFuture<GetLifecyclePoliciesResponse> getLifecyclePolicies()
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
default CompletableFuture<GetLifecyclePolicyResponse> getLifecyclePolicy(GetLifecyclePolicyRequest getLifecyclePolicyRequest)
Gets detailed information about the specified lifecycle policy.
getLifecyclePolicyRequest - default CompletableFuture<GetLifecyclePolicyResponse> getLifecyclePolicy(Consumer<GetLifecyclePolicyRequest.Builder> getLifecyclePolicyRequest)
Gets detailed information about the specified lifecycle policy.
This is a convenience which creates an instance of the GetLifecyclePolicyRequest.Builder avoiding the
need to create one manually via GetLifecyclePolicyRequest.builder()
getLifecyclePolicyRequest - A Consumer that will call methods on
GetLifecyclePolicyRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds the specified tags to the specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateLifecyclePolicyResponse> updateLifecyclePolicy(UpdateLifecyclePolicyRequest updateLifecyclePolicyRequest)
Updates the specified lifecycle policy.
For more information about updating a policy, see Modify lifecycle policies.
updateLifecyclePolicyRequest - default CompletableFuture<UpdateLifecyclePolicyResponse> updateLifecyclePolicy(Consumer<UpdateLifecyclePolicyRequest.Builder> updateLifecyclePolicyRequest)
Updates the specified lifecycle policy.
For more information about updating a policy, see Modify lifecycle policies.
This is a convenience which creates an instance of the UpdateLifecyclePolicyRequest.Builder avoiding the
need to create one manually via UpdateLifecyclePolicyRequest.builder()
updateLifecyclePolicyRequest - A Consumer that will call methods on
UpdateLifecyclePolicyRequest.Builder to create a
request.default DlmServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic DlmAsyncClient create()
DlmAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static DlmAsyncClientBuilder builder()
DlmAsyncClient.Copyright © 2023. All rights reserved.