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