Class AddTagsToResourceRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudhsm.model.AddTagsToResourceRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class AddTagsToResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • AddTagsToResourceRequest

      public AddTagsToResourceRequest()
  • Method Details

    • setResourceArn

      public void setResourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
    • getResourceArn

      public String getResourceArn()

      The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.

      Returns:
      The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
    • withResourceArn

      public AddTagsToResourceRequest withResourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTagList

      public List<Tag> getTagList()

      One or more tags.

      Returns:
      One or more tags.
    • setTagList

      public void setTagList(Collection<Tag> tagList)

      One or more tags.

      Parameters:
      tagList - One or more tags.
    • withTagList

      public AddTagsToResourceRequest withTagList(Tag... tagList)

      One or more tags.

      NOTE: This method appends the values to the existing list (if any). Use setTagList(java.util.Collection) or withTagList(java.util.Collection) if you want to override the existing values.

      Parameters:
      tagList - One or more tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTagList

      public AddTagsToResourceRequest withTagList(Collection<Tag> tagList)

      One or more tags.

      Parameters:
      tagList - One or more tags.
      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

      public AddTagsToResourceRequest 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: