Class DeleteTagsRequest

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

public class DeleteTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Contains the output from the DeleteTags action.

See Also:
  • Constructor Details

    • DeleteTagsRequest

      public DeleteTagsRequest()
  • Method Details

    • setResourceName

      public void setResourceName(String resourceName)

      The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.

      Parameters:
      resourceName - The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.
    • getResourceName

      public String getResourceName()

      The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.

      Returns:
      The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.
    • withResourceName

      public DeleteTagsRequest withResourceName(String resourceName)

      The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.

      Parameters:
      resourceName - The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTagKeys

      public List<String> getTagKeys()

      The tag key that you want to delete.

      Returns:
      The tag key that you want to delete.
    • setTagKeys

      public void setTagKeys(Collection<String> tagKeys)

      The tag key that you want to delete.

      Parameters:
      tagKeys - The tag key that you want to delete.
    • withTagKeys

      public DeleteTagsRequest withTagKeys(String... tagKeys)

      The tag key that you want to delete.

      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.

      Parameters:
      tagKeys - The tag key that you want to delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTagKeys

      public DeleteTagsRequest withTagKeys(Collection<String> tagKeys)

      The tag key that you want to delete.

      Parameters:
      tagKeys - The tag key that you want to delete.
      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 DeleteTagsRequest 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: