@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScanConditionPair extends Object implements Serializable, Cloneable, StructuredPojo
Represents the key:value pair to be matched against given resource property.
| Constructor and Description |
|---|
ScanConditionPair() |
| Modifier and Type | Method and Description |
|---|---|
ScanConditionPair |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
Represents the key in the map condition.
|
String |
getValue()
Represents optional value in the map condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
Represents the key in the map condition.
|
void |
setValue(String value)
Represents optional value in the map condition.
|
String |
toString()
Returns a string representation of this object.
|
ScanConditionPair |
withKey(String key)
Represents the key in the map condition.
|
ScanConditionPair |
withValue(String value)
Represents optional value in the map condition.
|
public void setKey(String key)
Represents the key in the map condition.
key - Represents the key in the map condition.public String getKey()
Represents the key in the map condition.
public ScanConditionPair withKey(String key)
Represents the key in the map condition.
key - Represents the key in the map condition.public void setValue(String value)
Represents optional value in the map condition. If not specified, only the key will be matched.
value - Represents optional value in the map condition. If not specified, only the key will be
matched.public String getValue()
Represents optional value in the map condition. If not specified, only the key will be matched.
public ScanConditionPair withValue(String value)
Represents optional value in the map condition. If not specified, only the key will be matched.
value - Represents optional value in the map condition. If not specified, only the key will be
matched.public String toString()
toString in class ObjectObject.toString()public ScanConditionPair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.