@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentFilter extends Object implements Serializable, Cloneable, StructuredPojo
This data type is deprecated. Instead, use DocumentKeyValuesFilter.
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.
|
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.DocumentFilterKey
public String getKey()
The name of the filter.
DocumentFilterKey
public DocumentFilter withKey(String key)
The name of the filter.
key
- The name of the filter.DocumentFilterKey
public void setKey(DocumentFilterKey key)
The name of the filter.
key
- The name of the filter.DocumentFilterKey
public DocumentFilter withKey(DocumentFilterKey key)
The name of the filter.
key
- The name of the filter.DocumentFilterKey
public 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 Object
Object.toString()
public DocumentFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.