@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonRecycleBinAsync extends AbstractAmazonRecycleBin implements AmazonRecycleBinAsync
AmazonRecycleBinAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
createRule, deleteRule, getCachedResponseMetadata, getRule, listRules, listTagsForResource, lockRule, shutdown, tagResource, unlockRule, untagResource, updateRule
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createRule, deleteRule, getCachedResponseMetadata, getRule, listRules, listTagsForResource, lockRule, shutdown, tagResource, unlockRule, untagResource, updateRule
public Future<CreateRuleResult> createRuleAsync(CreateRuleRequest request)
AmazonRecycleBinAsync
Creates a Recycle Bin retention rule. For more information, see Create Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
createRuleAsync
in interface AmazonRecycleBinAsync
public Future<CreateRuleResult> createRuleAsync(CreateRuleRequest request, AsyncHandler<CreateRuleRequest,CreateRuleResult> asyncHandler)
AmazonRecycleBinAsync
Creates a Recycle Bin retention rule. For more information, see Create Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
createRuleAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request)
AmazonRecycleBinAsync
Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
deleteRuleAsync
in interface AmazonRecycleBinAsync
public Future<DeleteRuleResult> deleteRuleAsync(DeleteRuleRequest request, AsyncHandler<DeleteRuleRequest,DeleteRuleResult> asyncHandler)
AmazonRecycleBinAsync
Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
deleteRuleAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRuleResult> getRuleAsync(GetRuleRequest request)
AmazonRecycleBinAsync
Gets information about a Recycle Bin retention rule.
getRuleAsync
in interface AmazonRecycleBinAsync
public Future<GetRuleResult> getRuleAsync(GetRuleRequest request, AsyncHandler<GetRuleRequest,GetRuleResult> asyncHandler)
AmazonRecycleBinAsync
Gets information about a Recycle Bin retention rule.
getRuleAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRulesResult> listRulesAsync(ListRulesRequest request)
AmazonRecycleBinAsync
Lists the Recycle Bin retention rules in the Region.
listRulesAsync
in interface AmazonRecycleBinAsync
public Future<ListRulesResult> listRulesAsync(ListRulesRequest request, AsyncHandler<ListRulesRequest,ListRulesResult> asyncHandler)
AmazonRecycleBinAsync
Lists the Recycle Bin retention rules in the Region.
listRulesAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonRecycleBinAsync
Lists the tags assigned to a retention rule.
listTagsForResourceAsync
in interface AmazonRecycleBinAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonRecycleBinAsync
Lists the tags assigned to a retention rule.
listTagsForResourceAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<LockRuleResult> lockRuleAsync(LockRuleRequest request)
AmazonRecycleBinAsync
Locks a retention rule. A locked retention rule can't be modified or deleted.
lockRuleAsync
in interface AmazonRecycleBinAsync
public Future<LockRuleResult> lockRuleAsync(LockRuleRequest request, AsyncHandler<LockRuleRequest,LockRuleResult> asyncHandler)
AmazonRecycleBinAsync
Locks a retention rule. A locked retention rule can't be modified or deleted.
lockRuleAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonRecycleBinAsync
Assigns tags to the specified retention rule.
tagResourceAsync
in interface AmazonRecycleBinAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonRecycleBinAsync
Assigns tags to the specified retention rule.
tagResourceAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UnlockRuleResult> unlockRuleAsync(UnlockRuleRequest request)
AmazonRecycleBinAsync
Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted only after the unlock delay period expires.
unlockRuleAsync
in interface AmazonRecycleBinAsync
public Future<UnlockRuleResult> unlockRuleAsync(UnlockRuleRequest request, AsyncHandler<UnlockRuleRequest,UnlockRuleResult> asyncHandler)
AmazonRecycleBinAsync
Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted only after the unlock delay period expires.
unlockRuleAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonRecycleBinAsync
Unassigns a tag from a retention rule.
untagResourceAsync
in interface AmazonRecycleBinAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonRecycleBinAsync
Unassigns a tag from a retention rule.
untagResourceAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateRuleResult> updateRuleAsync(UpdateRuleRequest request)
AmazonRecycleBinAsync
Updates an existing Recycle Bin retention rule. You can update a retention rule's description, resource tags, and retention period at any time after creation. You can't update a retention rule's resource type after creation. For more information, see Update Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
updateRuleAsync
in interface AmazonRecycleBinAsync
public Future<UpdateRuleResult> updateRuleAsync(UpdateRuleRequest request, AsyncHandler<UpdateRuleRequest,UpdateRuleResult> asyncHandler)
AmazonRecycleBinAsync
Updates an existing Recycle Bin retention rule. You can update a retention rule's description, resource tags, and retention period at any time after creation. You can't update a retention rule's resource type after creation. For more information, see Update Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
updateRuleAsync
in interface AmazonRecycleBinAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.