@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommandFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a command filter.
| 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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)
The name of the filter.
key - The name of the filter.CommandFilterKeypublic String getKey()
The name of the filter.
CommandFilterKeypublic CommandFilter withKey(String key)
The name of the filter.
key - The name of the filter.CommandFilterKeypublic void setKey(CommandFilterKey key)
The name of the filter.
key - The name of the filter.CommandFilterKeypublic CommandFilter withKey(CommandFilterKey key)
The name of the filter.
key - The name of the filter.CommandFilterKeypublic void setValue(String value)
The filter value.
value - The filter value.public String getValue()
The filter value.
public CommandFilter withValue(String value)
The filter value.
value - The filter value.public String toString()
toString in class ObjectObject.toString()public CommandFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.