java.lang.Object
com.amazonaws.services.databasemigrationservice.model.Filter
All Implemented Interfaces:
Serializable, Cloneable

public class Filter extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • Filter

      public Filter()
  • Method Details

    • setName

      public void setName(String name)

      The name of the filter.

      Parameters:
      name - The name of the filter.
    • getName

      public String getName()

      The name of the filter.

      Returns:
      The name of the filter.
    • withName

      public Filter withName(String name)

      The name of the filter.

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

      public List<String> getValues()

      The filter value.

      Returns:
      The filter value.
    • setValues

      public void setValues(Collection<String> values)

      The filter value.

      Parameters:
      values - The filter value.
    • withValues

      public Filter withValues(String... values)

      The filter value.

      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 - The filter value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withValues

      public Filter withValues(Collection<String> values)

      The filter value.

      Parameters:
      values - The filter value.
      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 Filter clone()
      Overrides:
      clone in class Object