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 CommandFilter
clone()
boolean
equals(Object obj)
String
getKey()
The name of the filter.String
getValue()
The filter value.int
hashCode()
void
setKey(CommandFilterKey key)
The name of the filter.void
setKey(String key)
The name of the filter.void
setValue(String value)
The filter value.String
toString()
Returns a string representation of this object; useful for testing and debugging.CommandFilter
withKey(CommandFilterKey key)
The name of the filter.CommandFilter
withKey(String key)
The name of the filter.CommandFilter
withValue(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CommandFilter clone()
-
-