public class RemoveTagsFromVaultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
RemoveTagsFromVault operation.
This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see Tagging Amazon Glacier Resources . This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault.
NOOP| Constructor and Description |
|---|
RemoveTagsFromVaultRequest() |
| Modifier and Type | Method and Description |
|---|---|
RemoveTagsFromVaultRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The
AccountId value is the AWS account ID of the account
that owns the vault. |
List<String> |
getTagKeys()
A list of tag keys.
|
String |
getVaultName()
The name of the vault.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The
AccountId value is the AWS account ID of the account
that owns the vault. |
void |
setTagKeys(Collection<String> tagKeys)
A list of tag keys.
|
void |
setVaultName(String vaultName)
The name of the vault.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RemoveTagsFromVaultRequest |
withAccountId(String accountId)
The
AccountId value is the AWS account ID of the account
that owns the vault. |
RemoveTagsFromVaultRequest |
withTagKeys(Collection<String> tagKeys)
A list of tag keys.
|
RemoveTagsFromVaultRequest |
withTagKeys(String... tagKeys)
A list of tag keys.
|
RemoveTagsFromVaultRequest |
withVaultName(String vaultName)
The name of the vault.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getAccountId()
AccountId value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you use an account ID, do not include any
hyphens ('-') in the ID.AccountId value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you use an account ID, do not include any
hyphens ('-') in the ID.public void setAccountId(String accountId)
AccountId value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you use an account ID, do not include any
hyphens ('-') in the ID.accountId - The AccountId value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you use an account ID, do not include any
hyphens ('-') in the ID.public RemoveTagsFromVaultRequest withAccountId(String accountId)
AccountId value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you use an account ID, do not include any
hyphens ('-') in the ID.
Returns a reference to this object so that method calls can be chained together.
accountId - The AccountId value is the AWS account ID of the account
that owns the vault. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon
Glacier uses the AWS account ID associated with the credentials used
to sign the request. If you use an account ID, do not include any
hyphens ('-') in the ID.public String getVaultName()
public void setVaultName(String vaultName)
vaultName - The name of the vault.public RemoveTagsFromVaultRequest withVaultName(String vaultName)
Returns a reference to this object so that method calls can be chained together.
vaultName - The name of the vault.public List<String> getTagKeys()
public void setTagKeys(Collection<String> tagKeys)
tagKeys - A list of tag keys. Each corresponding tag is removed from the vault.public RemoveTagsFromVaultRequest withTagKeys(String... tagKeys)
NOTE: This method appends the values to the existing list (if
any). Use setTagKeys(java.util.Collection) or withTagKeys(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
tagKeys - A list of tag keys. Each corresponding tag is removed from the vault.public RemoveTagsFromVaultRequest withTagKeys(Collection<String> tagKeys)
Returns a reference to this object so that method calls can be chained together.
tagKeys - A list of tag keys. Each corresponding tag is removed from the vault.public String toString()
toString in class ObjectObject.toString()public RemoveTagsFromVaultRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.