Class RemoveTagsRequest

    • Constructor Detail

      • RemoveTagsRequest

        public RemoveTagsRequest()
        Default constructor for RemoveTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • RemoveTagsRequest

        public RemoveTagsRequest​(String resourceId)
        Constructs a new RemoveTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        resourceId - The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
      • RemoveTagsRequest

        public RemoveTagsRequest​(String resourceId,
                                 List<String> tagKeys)
        Constructs a new RemoveTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        resourceId - The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
        tagKeys - A list of tag keys to remove from a resource.
    • Method Detail

      • setResourceId

        public void setResourceId​(String resourceId)

        The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.

        Parameters:
        resourceId - The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
      • getResourceId

        public String getResourceId()

        The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.

        Returns:
        The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
      • withResourceId

        public RemoveTagsRequest withResourceId​(String resourceId)

        The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.

        Parameters:
        resourceId - The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTagKeys

        public List<String> getTagKeys()

        A list of tag keys to remove from a resource.

        Returns:
        A list of tag keys to remove from a resource.
      • setTagKeys

        public void setTagKeys​(Collection<String> tagKeys)

        A list of tag keys to remove from a resource.

        Parameters:
        tagKeys - A list of tag keys to remove from a resource.
      • withTagKeys

        public RemoveTagsRequest withTagKeys​(String... tagKeys)

        A list of tag keys to remove from a resource.

        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 - A list of tag keys to remove from a resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTagKeys

        public RemoveTagsRequest withTagKeys​(Collection<String> tagKeys)

        A list of tag keys to remove from a resource.

        Parameters:
        tagKeys - A list of tag keys to remove from a resource.
        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