public class UpdateThingRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for the UpdateThing operation.
Modifier and Type | Field and Description |
---|---|
private AttributePayload |
attributePayload
The attribute payload, a JSON string containing up to three key-value
pairs (for example, {\"attributes\":{\"string1\":\"string2\"}}).
|
private java.lang.String |
thingName
The thing name.
|
NOOP
Constructor and Description |
---|
UpdateThingRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateThingRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
AttributePayload |
getAttributePayload()
The attribute payload, a JSON string containing up to three key-value
pairs (for example, {\"attributes\":{\"string1\":\"string2\"}}).
|
java.lang.String |
getThingName()
The thing name.
|
int |
hashCode() |
void |
setAttributePayload(AttributePayload attributePayload)
The attribute payload, a JSON string containing up to three key-value
pairs (for example, {\"attributes\":{\"string1\":\"string2\"}}).
|
void |
setThingName(java.lang.String thingName)
The thing name.
|
java.lang.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 (for example, {\"attributes\":{\"string1\":\"string2\"}}).
|
UpdateThingRequest |
withThingName(java.lang.String thingName)
The thing name.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String thingName
The thing name.
private AttributePayload attributePayload
The attribute payload, a JSON string containing up to three key-value pairs (for example, {\"attributes\":{\"string1\":\"string2\"}}).
public void setThingName(java.lang.String thingName)
The thing name.
thingName
- The thing name.public java.lang.String getThingName()
The thing name.
public UpdateThingRequest withThingName(java.lang.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\"}}).
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateThingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()