java.lang.Object
com.amazonaws.services.simplesystemsmanagement.model.CommandFilter
All Implemented Interfaces:
Serializable, Cloneable

public class CommandFilter extends Object implements Serializable, Cloneable

Describes a command filter.

See Also:
  • Constructor Details

    • CommandFilter

      public CommandFilter()
  • Method Details

    • setKey

      public void setKey(String key)

      The name of the filter. For example, requested date and time.

      Parameters:
      key - The name of the filter. For example, requested date and time.
      See Also:
    • getKey

      public String getKey()

      The name of the filter. For example, requested date and time.

      Returns:
      The name of the filter. For example, requested date and time.
      See Also:
    • withKey

      public CommandFilter withKey(String key)

      The name of the filter. For example, requested date and time.

      Parameters:
      key - The name of the filter. For example, requested date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setKey

      public void setKey(CommandFilterKey key)

      The name of the filter. For example, requested date and time.

      Parameters:
      key - The name of the filter. For example, requested date and time.
      See Also:
    • withKey

      public CommandFilter withKey(CommandFilterKey key)

      The name of the filter. For example, requested date and time.

      Parameters:
      key - The name of the filter. For example, requested date and time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setValue

      public void setValue(String value)

      The filter value. For example: June 30, 2015.

      Parameters:
      value - The filter value. For example: June 30, 2015.
    • getValue

      public String getValue()

      The filter value. For example: June 30, 2015.

      Returns:
      The filter value. For example: June 30, 2015.
    • withValue

      public CommandFilter withValue(String value)

      The filter value. For example: June 30, 2015.

      Parameters:
      value - The filter value. For example: June 30, 2015.
      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 CommandFilter clone()
      Overrides:
      clone in class Object