java.lang.Object
com.amazonaws.services.applicationdiscovery.model.TagFilter
All Implemented Interfaces:
Serializable, Cloneable

public class TagFilter extends Object implements Serializable, Cloneable

The name of a tag filter. Valid names are: tagKey, tagValue, configurationId.

See Also:
  • Constructor Details

    • TagFilter

      public TagFilter()
  • Method Details

    • setName

      public void setName(String name)

      A name of a tag filter.

      Parameters:
      name - A name of a tag filter.
    • getName

      public String getName()

      A name of a tag filter.

      Returns:
      A name of a tag filter.
    • withName

      public TagFilter withName(String name)

      A name of a tag filter.

      Parameters:
      name - A name of a tag filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getValues

      public List<String> getValues()

      Values of a tag filter.

      Returns:
      Values of a tag filter.
    • setValues

      public void setValues(Collection<String> values)

      Values of a tag filter.

      Parameters:
      values - Values of a tag filter.
    • withValues

      public TagFilter withValues(String... values)

      Values of a tag filter.

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

      Parameters:
      values - Values of a tag filter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withValues

      public TagFilter withValues(Collection<String> values)

      Values of a tag filter.

      Parameters:
      values - Values of a tag filter.
      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 TagFilter clone()
      Overrides:
      clone in class Object