Class DeleteTagsRequest

    • Constructor Detail

      • DeleteTagsRequest

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

        public DeleteTagsRequest​(List<String> resources)
        Constructs a new DeleteTagsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
    • Method Detail

      • getResources

        public List<String> getResources()

        The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.

        Returns:
        The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
      • setResources

        public void setResources​(Collection<String> resources)

        The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.

        Parameters:
        resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
      • withResources

        public DeleteTagsRequest withResources​(String... resources)

        The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.

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

        Parameters:
        resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withResources

        public DeleteTagsRequest withResources​(Collection<String> resources)

        The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.

        Parameters:
        resources - The ID of the resource. For example, ami-1a2b3c4d. You can specify more than one resource ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.

        Returns:
        One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.
      • setTags

        public void setTags​(Collection<Tag> tags)

        One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.

        Parameters:
        tags - One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.
      • withTags

        public DeleteTagsRequest withTags​(Tag... tags)

        One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.

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

        Parameters:
        tags - One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public DeleteTagsRequest withTags​(Collection<Tag> tags)

        One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.

        Parameters:
        tags - One or more tags to delete. If you omit the value parameter, we delete the tag regardless of its value. If you specify this parameter with an empty string as the value, we delete the key only if its value is an empty string.
        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