public class UpdateThingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the UpdateThing operation.
NOOP| Constructor and Description |
|---|
UpdateThingRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateThingRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
AttributePayload |
getAttributePayload()
The attribute payload, a JSON string containing up to three key-value
pairs.
|
String |
getThingName()
The thing name.
|
int |
hashCode() |
void |
setAttributePayload(AttributePayload attributePayload)
The attribute payload, a JSON string containing up to three key-value
pairs.
|
void |
setThingName(String thingName)
The thing name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateThingRequest |
withAttributePayload(AttributePayload attributePayload)
The attribute payload, a JSON string containing up to three key-value
pairs.
|
UpdateThingRequest |
withThingName(String thingName)
The thing name.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setThingName(String thingName)
The thing name.
thingName - The thing name.public String getThingName()
The thing name.
public UpdateThingRequest withThingName(String thingName)
The thing name.
thingName - The thing name.public void setAttributePayload(AttributePayload attributePayload)
The attribute payload, a JSON string containing up to three key-value pairs.
For example: {\"attributes\":{\"string1\":\"string2\"}}
attributePayload - The attribute payload, a JSON string containing up to three
key-value pairs.
For example: {\"attributes\":{\"string1\":\"string2\"}}
public AttributePayload getAttributePayload()
The attribute payload, a JSON string containing up to three key-value pairs.
For example: {\"attributes\":{\"string1\":\"string2\"}}
For example: {\"attributes\":{\"string1\":\"string2\"}}
public UpdateThingRequest withAttributePayload(AttributePayload attributePayload)
The attribute payload, a JSON string containing up to three key-value pairs.
For example: {\"attributes\":{\"string1\":\"string2\"}}
attributePayload - The attribute payload, a JSON string containing up to three
key-value pairs.
For example: {\"attributes\":{\"string1\":\"string2\"}}
public String toString()
toString in class ObjectObject.toString()public UpdateThingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.