@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter.
| Constructor and Description |
|---|
DocumentFilter() |
| Modifier and Type | Method and Description |
|---|---|
DocumentFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the filter.
|
String |
getValue()
The value of the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(DocumentFilterKey key)
The name of the filter.
|
void |
setKey(String key)
The name of the filter.
|
void |
setValue(String value)
The value of the filter.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DocumentFilter |
withKey(DocumentFilterKey key)
The name of the filter.
|
DocumentFilter |
withKey(String key)
The name of the filter.
|
DocumentFilter |
withValue(String value)
The value of the filter.
|
public void setKey(String key)
The name of the filter.
key - The name of the filter.DocumentFilterKeypublic String getKey()
The name of the filter.
DocumentFilterKeypublic DocumentFilter withKey(String key)
The name of the filter.
key - The name of the filter.DocumentFilterKeypublic void setKey(DocumentFilterKey key)
The name of the filter.
key - The name of the filter.DocumentFilterKeypublic DocumentFilter withKey(DocumentFilterKey key)
The name of the filter.
key - The name of the filter.DocumentFilterKeypublic void setValue(String value)
The value of the filter.
value - The value of the filter.public String getValue()
The value of the filter.
public DocumentFilter withValue(String value)
The value of the filter.
value - The value of the filter.public String toString()
toString in class ObjectObject.toString()public DocumentFilter 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.