Class RemoveTagsFromResourceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudhsm.model.RemoveTagsFromResourceRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RemoveTagsFromResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RemoveTagsFromResourceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveTagsFromResourceRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getResourceArn()
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.List<String>
getTagKeyList()
The tag key or keys to remove.int
hashCode()
void
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.void
setTagKeyList(Collection<String> tagKeyList)
The tag key or keys to remove.String
toString()
Returns a string representation of this object; useful for testing and debugging.RemoveTagsFromResourceRequest
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.RemoveTagsFromResourceRequest
withTagKeyList(String... tagKeyList)
The tag key or keys to remove.RemoveTagsFromResourceRequest
withTagKeyList(Collection<String> tagKeyList)
The tag key or keys to remove.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setResourceArn
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
-
getResourceArn
public String getResourceArn()
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
- Returns:
- The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
-
withResourceArn
public RemoveTagsFromResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the AWS CloudHSM resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTagKeyList
public List<String> getTagKeyList()
The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
- Returns:
- The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
-
setTagKeyList
public void setTagKeyList(Collection<String> tagKeyList)
The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
- Parameters:
tagKeyList
- The tag key or keys to remove.Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
-
withTagKeyList
public RemoveTagsFromResourceRequest withTagKeyList(String... tagKeyList)
The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
NOTE: This method appends the values to the existing list (if any). Use
setTagKeyList(java.util.Collection)
orwithTagKeyList(java.util.Collection)
if you want to override the existing values.- Parameters:
tagKeyList
- The tag key or keys to remove.Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagKeyList
public RemoveTagsFromResourceRequest withTagKeyList(Collection<String> tagKeyList)
The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
- Parameters:
tagKeyList
- The tag key or keys to remove.Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RemoveTagsFromResourceRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-