@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceStatusDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details of a device’s status.
Constructor and Description |
---|
DeviceStatusDetail() |
Modifier and Type | Method and Description |
---|---|
DeviceStatusDetail |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The device status detail code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
The device status detail code.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeviceStatusDetail |
withCode(DeviceStatusDetailCode code)
The device status detail code.
|
DeviceStatusDetail |
withCode(String code)
The device status detail code.
|
public void setCode(String code)
The device status detail code.
code
- The device status detail code.DeviceStatusDetailCode
public String getCode()
The device status detail code.
DeviceStatusDetailCode
public DeviceStatusDetail withCode(String code)
The device status detail code.
code
- The device status detail code.DeviceStatusDetailCode
public DeviceStatusDetail withCode(DeviceStatusDetailCode code)
The device status detail code.
code
- The device status detail code.DeviceStatusDetailCode
public String toString()
toString
in class Object
Object.toString()
public DeviceStatusDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.