@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, shutdown, tagResource, untagResource, updateRule
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createRule, deleteRule, getCachedResponseMetadata, getRule, listRules, listTagsForResource, shutdown, tagResource, 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 EC2 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 EC2 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 EC2 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 EC2 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 a specific resource.
listTagsForResourceAsync
in interface AmazonRecycleBinAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonRecycleBinAsync
Lists the tags assigned a specific resource.
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonRecycleBinAsync
Assigns tags to the specified resource.
tagResourceAsync
in interface AmazonRecycleBinAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonRecycleBinAsync
Assigns tags to the specified resource.
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonRecycleBinAsync
Unassigns a tag from a resource.
untagResourceAsync
in interface AmazonRecycleBinAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonRecycleBinAsync
Unassigns a tag from a resource.
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. For more information, see Update Recycle Bin retention rules in the Amazon EC2 User Guide.
updateRuleAsync
in interface AmazonRecycleBinAsync
public Future<UpdateRuleResult> updateRuleAsync(UpdateRuleRequest request, AsyncHandler<UpdateRuleRequest,UpdateRuleResult> asyncHandler)
AmazonRecycleBinAsync
Updates an existing Recycle Bin retention rule. For more information, see Update Recycle Bin retention rules in the Amazon EC2 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.