Class RemoveTagsFromResourceRequest

    • Constructor Detail

      • RemoveTagsFromResourceRequest

        public RemoveTagsFromResourceRequest()
    • 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) 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object