@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScanConditionPair extends Object implements Serializable, Cloneable, StructuredPojo
Represents 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 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 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 key in the map condition.
|
ScanConditionPair |
withValue(String value)
Represents optional value in the map condition.
|
public void setKey(String key)
Represents key in the map condition.
key
- Represents key in the map condition.public String getKey()
Represents key in the map condition.
public ScanConditionPair withKey(String key)
Represents key in the map condition.
key
- Represents key in the map condition.public void setValue(String value)
Represents optional value in the map condition. If not specified, only key will be matched.
value
- Represents optional value in the map condition. If not specified, only key will be
matched.public String getValue()
Represents optional value in the map condition. If not specified, only key will be matched.
public ScanConditionPair withValue(String value)
Represents optional value in the map condition. If not specified, only key will be matched.
value
- Represents optional value in the map condition. If not specified, only key will be
matched.public String toString()
toString
in class Object
Object.toString()
public ScanConditionPair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.