public class CommandFilter extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CommandFilter() |
Modifier and Type | Method and 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.
|
public void setKey(String key)
key
- The name of the filter. For example, requested date and time.CommandFilterKey
public String getKey()
CommandFilterKey
public CommandFilter withKey(String key)
key
- The name of the filter. For example, requested date and time.CommandFilterKey
public void setKey(CommandFilterKey key)
key
- The name of the filter. For example, requested date and time.CommandFilterKey
public CommandFilter withKey(CommandFilterKey key)
key
- The name of the filter. For example, requested date and time.CommandFilterKey
public void setValue(String value)
value
- The filter value. For example: June 30, 2015.public String getValue()
public CommandFilter withValue(String value)
value
- The filter value. For example: June 30, 2015.public String toString()
toString
in class Object
Object.toString()
public CommandFilter clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.