Class CommandFilter
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommandFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandFilterclone()booleanequals(Object obj)StringgetKey()The name of the filter.StringgetValue()The filter value.inthashCode()voidsetKey(CommandFilterKey key)The name of the filter.voidsetKey(String key)The name of the filter.voidsetValue(String value)The filter value.StringtoString()Returns a string representation of this object; useful for testing and debugging.CommandFilterwithKey(CommandFilterKey key)The name of the filter.CommandFilterwithKey(String key)The name of the filter.CommandFilterwithValue(String value)The filter value.
-
-
-
Method Detail
-
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:
CommandFilterKey
-
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:
CommandFilterKey
-
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:
CommandFilterKey
-
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:
CommandFilterKey
-
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:
CommandFilterKey
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CommandFilter clone()
-
-