@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Command extends Object implements Serializable, Cloneable, StructuredPojo
The command given to the device to execute.
Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
Command |
clone() |
boolean |
equals(Object obj) |
Reboot |
getReboot()
Reboots the device.
|
Unlock |
getUnlock()
Unlocks the device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReboot(Reboot reboot)
Reboots the device.
|
void |
setUnlock(Unlock unlock)
Unlocks the device.
|
String |
toString()
Returns a string representation of this object.
|
Command |
withReboot(Reboot reboot)
Reboots the device.
|
Command |
withUnlock(Unlock unlock)
Unlocks the device.
|
public void setReboot(Reboot reboot)
Reboots the device.
reboot
- Reboots the device.public Reboot getReboot()
Reboots the device.
public Command withReboot(Reboot reboot)
Reboots the device.
reboot
- Reboots the device.public void setUnlock(Unlock unlock)
Unlocks the device.
unlock
- Unlocks the device.public Unlock getUnlock()
Unlocks the device.
public Command withUnlock(Unlock unlock)
Unlocks the device.
unlock
- Unlocks the device.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.