@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()
Devices in the definition version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDevices(Collection<Device> devices)
Devices in the definition version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeviceDefinitionVersion |
withDevices(Collection<Device> devices)
Devices in the definition version.
|
DeviceDefinitionVersion |
withDevices(Device... devices)
Devices in the definition version.
|
public List<Device> getDevices()
public void setDevices(Collection<Device> devices)
devices
- 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
- Devices in the definition version.public DeviceDefinitionVersion withDevices(Collection<Device> devices)
devices
- Devices in the definition version.public String toString()
toString
in class Object
Object.toString()
public DeviceDefinitionVersion 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.