@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonRecycleBin extends Object implements AmazonRecycleBin
AmazonRecycleBin
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateRuleResult |
createRule(CreateRuleRequest request)
Creates a Recycle Bin retention rule.
|
DeleteRuleResult |
deleteRule(DeleteRuleRequest request)
Deletes a Recycle Bin retention rule.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetRuleResult |
getRule(GetRuleRequest request)
Gets information about a Recycle Bin retention rule.
|
ListRulesResult |
listRules(ListRulesRequest request)
Lists the Recycle Bin retention rules in the Region.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags assigned to a retention rule.
|
LockRuleResult |
lockRule(LockRuleRequest request)
Locks a retention rule.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Assigns tags to the specified retention rule.
|
UnlockRuleResult |
unlockRule(UnlockRuleRequest request)
Unlocks a retention rule.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Unassigns a tag from a retention rule.
|
UpdateRuleResult |
updateRule(UpdateRuleRequest request)
Updates an existing Recycle Bin retention rule.
|
public CreateRuleResult createRule(CreateRuleRequest request)
AmazonRecycleBin
Creates a Recycle Bin retention rule. For more information, see Create Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
createRule
in interface AmazonRecycleBin
public DeleteRuleResult deleteRule(DeleteRuleRequest request)
AmazonRecycleBin
Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.
deleteRule
in interface AmazonRecycleBin
public GetRuleResult getRule(GetRuleRequest request)
AmazonRecycleBin
Gets information about a Recycle Bin retention rule.
getRule
in interface AmazonRecycleBin
public ListRulesResult listRules(ListRulesRequest request)
AmazonRecycleBin
Lists the Recycle Bin retention rules in the Region.
listRules
in interface AmazonRecycleBin
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonRecycleBin
Lists the tags assigned to a retention rule.
listTagsForResource
in interface AmazonRecycleBin
public LockRuleResult lockRule(LockRuleRequest request)
AmazonRecycleBin
Locks a retention rule. A locked retention rule can't be modified or deleted.
lockRule
in interface AmazonRecycleBin
public TagResourceResult tagResource(TagResourceRequest request)
AmazonRecycleBin
Assigns tags to the specified retention rule.
tagResource
in interface AmazonRecycleBin
public UnlockRuleResult unlockRule(UnlockRuleRequest request)
AmazonRecycleBin
Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted only after the unlock delay period expires.
unlockRule
in interface AmazonRecycleBin
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonRecycleBin
Unassigns a tag from a retention rule.
untagResource
in interface AmazonRecycleBin
public UpdateRuleResult updateRule(UpdateRuleRequest request)
AmazonRecycleBin
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.
updateRule
in interface AmazonRecycleBin
public void shutdown()
AmazonRecycleBin
shutdown
in interface AmazonRecycleBin
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonRecycleBin
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AmazonRecycleBin
request
- The originally executed request.