@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyPredicate extends Object implements Serializable, Cloneable, StructuredPojo
Defines a property predicate.
| Constructor and Description |
|---|
PropertyPredicate() |
| Modifier and Type | Method and Description |
|---|---|
PropertyPredicate |
clone() |
boolean |
equals(Object obj) |
String |
getComparator()
The comparator used to compare this property to others.
|
String |
getKey()
The key of the property.
|
String |
getValue()
The value of the property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComparator(String comparator)
The comparator used to compare this property to others.
|
void |
setKey(String key)
The key of the property.
|
void |
setValue(String value)
The value of the property.
|
String |
toString()
Returns a string representation of this object.
|
PropertyPredicate |
withComparator(Comparator comparator)
The comparator used to compare this property to others.
|
PropertyPredicate |
withComparator(String comparator)
The comparator used to compare this property to others.
|
PropertyPredicate |
withKey(String key)
The key of the property.
|
PropertyPredicate |
withValue(String value)
The value of the property.
|
public void setKey(String key)
The key of the property.
key - The key of the property.public String getKey()
The key of the property.
public PropertyPredicate withKey(String key)
The key of the property.
key - The key of the property.public void setValue(String value)
The value of the property.
value - The value of the property.public String getValue()
The value of the property.
public PropertyPredicate withValue(String value)
The value of the property.
value - The value of the property.public void setComparator(String comparator)
The comparator used to compare this property to others.
comparator - The comparator used to compare this property to others.Comparatorpublic String getComparator()
The comparator used to compare this property to others.
Comparatorpublic PropertyPredicate withComparator(String comparator)
The comparator used to compare this property to others.
comparator - The comparator used to compare this property to others.Comparatorpublic PropertyPredicate withComparator(Comparator comparator)
The comparator used to compare this property to others.
comparator - The comparator used to compare this property to others.Comparatorpublic String toString()
toString in class ObjectObject.toString()public PropertyPredicate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.