@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceDefinitionVersion extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
DeviceDefinitionVersion() |
| Modifier and Type | Method and Description |
|---|---|
DeviceDefinitionVersion |
clone() |
boolean |
equals(Object obj) |
List<Device> |
getDevices()
A list of devices in the definition version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDevices(Collection<Device> devices)
A list of devices in the definition version.
|
String |
toString()
Returns a string representation of this object.
|
DeviceDefinitionVersion |
withDevices(Collection<Device> devices)
A list of devices in the definition version.
|
DeviceDefinitionVersion |
withDevices(Device... devices)
A list of devices in the definition version.
|
public List<Device> getDevices()
public void setDevices(Collection<Device> devices)
devices - A list of devices in the definition version.public DeviceDefinitionVersion withDevices(Device... devices)
NOTE: This method appends the values to the existing list (if any). Use
setDevices(java.util.Collection) or withDevices(java.util.Collection) if you want to override
the existing values.
devices - A list of devices in the definition version.public DeviceDefinitionVersion withDevices(Collection<Device> devices)
devices - A list of devices in the definition version.public String toString()
toString in class ObjectObject.toString()public DeviceDefinitionVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.