@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvokeDeviceMethodRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
InvokeDeviceMethodRequest() |
Modifier and Type | Method and Description |
---|---|
InvokeDeviceMethodRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDeviceId()
The unique identifier of the device.
|
DeviceMethod |
getDeviceMethod()
The device method to invoke.
|
String |
getDeviceMethodParameters()
A JSON encoded string containing the device method request parameters.
|
int |
hashCode() |
void |
setDeviceId(String deviceId)
The unique identifier of the device.
|
void |
setDeviceMethod(DeviceMethod deviceMethod)
The device method to invoke.
|
void |
setDeviceMethodParameters(String deviceMethodParameters)
A JSON encoded string containing the device method request parameters.
|
String |
toString()
Returns a string representation of this object.
|
InvokeDeviceMethodRequest |
withDeviceId(String deviceId)
The unique identifier of the device.
|
InvokeDeviceMethodRequest |
withDeviceMethod(DeviceMethod deviceMethod)
The device method to invoke.
|
InvokeDeviceMethodRequest |
withDeviceMethodParameters(String deviceMethodParameters)
A JSON encoded string containing the device method request parameters.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeviceId(String deviceId)
The unique identifier of the device.
deviceId
- The unique identifier of the device.public String getDeviceId()
The unique identifier of the device.
public InvokeDeviceMethodRequest withDeviceId(String deviceId)
The unique identifier of the device.
deviceId
- The unique identifier of the device.public void setDeviceMethod(DeviceMethod deviceMethod)
The device method to invoke.
deviceMethod
- The device method to invoke.public DeviceMethod getDeviceMethod()
The device method to invoke.
public InvokeDeviceMethodRequest withDeviceMethod(DeviceMethod deviceMethod)
The device method to invoke.
deviceMethod
- The device method to invoke.public void setDeviceMethodParameters(String deviceMethodParameters)
A JSON encoded string containing the device method request parameters.
deviceMethodParameters
- A JSON encoded string containing the device method request parameters.public String getDeviceMethodParameters()
A JSON encoded string containing the device method request parameters.
public InvokeDeviceMethodRequest withDeviceMethodParameters(String deviceMethodParameters)
A JSON encoded string containing the device method request parameters.
deviceMethodParameters
- A JSON encoded string containing the device method request parameters.public String toString()
toString
in class Object
Object.toString()
public InvokeDeviceMethodRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()