@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDeviceStateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDeviceStateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDeviceStateRequest |
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.
|
Boolean |
getEnabled()
If true, the device is enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
If true, the device is enabled.
|
void |
setDeviceId(String deviceId)
The unique identifier of the device.
|
void |
setEnabled(Boolean enabled)
If true, the device is enabled.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDeviceStateRequest |
withDeviceId(String deviceId)
The unique identifier of the device.
|
UpdateDeviceStateRequest |
withEnabled(Boolean enabled)
If true, the device is enabled.
|
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 UpdateDeviceStateRequest withDeviceId(String deviceId)
The unique identifier of the device.
deviceId
- The unique identifier of the device.public void setEnabled(Boolean enabled)
If true, the device is enabled. If false, the device is disabled.
enabled
- If true, the device is enabled. If false, the device is disabled.public Boolean getEnabled()
If true, the device is enabled. If false, the device is disabled.
public UpdateDeviceStateRequest withEnabled(Boolean enabled)
If true, the device is enabled. If false, the device is disabled.
enabled
- If true, the device is enabled. If false, the device is disabled.public Boolean isEnabled()
If true, the device is enabled. If false, the device is disabled.
public String toString()
toString
in class Object
Object.toString()
public UpdateDeviceStateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()