@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutKeyRequestListItem extends Object implements Serializable, Cloneable, StructuredPojo
List item for key value pair to put.
Constructor and Description |
---|
PutKeyRequestListItem() |
Modifier and Type | Method and Description |
---|---|
PutKeyRequestListItem |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key of the key value pair list item to put.
|
String |
getValue()
The value for the key value pair to put.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The key of the key value pair list item to put.
|
void |
setValue(String value)
The value for the key value pair to put.
|
String |
toString()
Returns a string representation of this object.
|
PutKeyRequestListItem |
withKey(String key)
The key of the key value pair list item to put.
|
PutKeyRequestListItem |
withValue(String value)
The value for the key value pair to put.
|
public void setKey(String key)
The key of the key value pair list item to put.
key
- The key of the key value pair list item to put.public String getKey()
The key of the key value pair list item to put.
public PutKeyRequestListItem withKey(String key)
The key of the key value pair list item to put.
key
- The key of the key value pair list item to put.public void setValue(String value)
The value for the key value pair to put.
value
- The value for the key value pair to put.public String getValue()
The value for the key value pair to put.
public PutKeyRequestListItem withValue(String value)
The value for the key value pair to put.
value
- The value for the key value pair to put.public String toString()
toString
in class Object
Object.toString()
public PutKeyRequestListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.