@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.Comparator
public String getComparator()
The comparator used to compare this property to others.
Comparator
public PropertyPredicate withComparator(String comparator)
The comparator used to compare this property to others.
comparator
- The comparator used to compare this property to others.Comparator
public PropertyPredicate withComparator(Comparator comparator)
The comparator used to compare this property to others.
comparator
- The comparator used to compare this property to others.Comparator
public String toString()
toString
in class Object
Object.toString()
public PropertyPredicate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.