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:
  • Constructor Details

    • RemoveTagsFromResourceRequest

      public RemoveTagsFromResourceRequest()
  • Method Details

    • 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) or withTagKeyList(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: