@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Device extends Object implements Serializable, Cloneable, StructuredPojo
Describes a device.
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
Device |
clone() |
boolean |
equals(Object obj) |
AWSLocation |
getAWSLocation()
The Amazon Web Services location of the device.
|
Date |
getCreatedAt()
The date and time that the site was created.
|
String |
getDescription()
The description of the device.
|
String |
getDeviceArn()
The Amazon Resource Name (ARN) of the device.
|
String |
getDeviceId()
The ID of the device.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
Location |
getLocation()
The site location.
|
String |
getModel()
The device model.
|
String |
getSerialNumber()
The device serial number.
|
String |
getSiteId()
The site ID.
|
String |
getState()
The device state.
|
List<Tag> |
getTags()
The tags for the device.
|
String |
getType()
The device type.
|
String |
getVendor()
The device vendor.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device.
|
void |
setCreatedAt(Date createdAt)
The date and time that the site was created.
|
void |
setDescription(String description)
The description of the device.
|
void |
setDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
|
void |
setDeviceId(String deviceId)
The ID of the device.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setLocation(Location location)
The site location.
|
void |
setModel(String model)
The device model.
|
void |
setSerialNumber(String serialNumber)
The device serial number.
|
void |
setSiteId(String siteId)
The site ID.
|
void |
setState(String state)
The device state.
|
void |
setTags(Collection<Tag> tags)
The tags for the device.
|
void |
setType(String type)
The device type.
|
void |
setVendor(String vendor)
The device vendor.
|
String |
toString()
Returns a string representation of this object.
|
Device |
withAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device.
|
Device |
withCreatedAt(Date createdAt)
The date and time that the site was created.
|
Device |
withDescription(String description)
The description of the device.
|
Device |
withDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
|
Device |
withDeviceId(String deviceId)
The ID of the device.
|
Device |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
Device |
withLocation(Location location)
The site location.
|
Device |
withModel(String model)
The device model.
|
Device |
withSerialNumber(String serialNumber)
The device serial number.
|
Device |
withSiteId(String siteId)
The site ID.
|
Device |
withState(DeviceState state)
The device state.
|
Device |
withState(String state)
The device state.
|
Device |
withTags(Collection<Tag> tags)
The tags for the device.
|
Device |
withTags(Tag... tags)
The tags for the device.
|
Device |
withType(String type)
The device type.
|
Device |
withVendor(String vendor)
The device vendor.
|
public void setDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public String getDeviceId()
The ID of the device.
public Device withDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public void setDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
deviceArn
- The Amazon Resource Name (ARN) of the device.public String getDeviceArn()
The Amazon Resource Name (ARN) of the device.
public Device withDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
deviceArn
- The Amazon Resource Name (ARN) of the device.public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public Device withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device.
aWSLocation
- The Amazon Web Services location of the device.public AWSLocation getAWSLocation()
The Amazon Web Services location of the device.
public Device withAWSLocation(AWSLocation aWSLocation)
The Amazon Web Services location of the device.
aWSLocation
- The Amazon Web Services location of the device.public void setDescription(String description)
The description of the device.
description
- The description of the device.public String getDescription()
The description of the device.
public Device withDescription(String description)
The description of the device.
description
- The description of the device.public void setType(String type)
The device type.
type
- The device type.public String getType()
The device type.
public Device withType(String type)
The device type.
type
- The device type.public void setVendor(String vendor)
The device vendor.
vendor
- The device vendor.public String getVendor()
The device vendor.
public Device withVendor(String vendor)
The device vendor.
vendor
- The device vendor.public void setModel(String model)
The device model.
model
- The device model.public String getModel()
The device model.
public Device withModel(String model)
The device model.
model
- The device model.public void setSerialNumber(String serialNumber)
The device serial number.
serialNumber
- The device serial number.public String getSerialNumber()
The device serial number.
public Device withSerialNumber(String serialNumber)
The device serial number.
serialNumber
- The device serial number.public void setLocation(Location location)
The site location.
location
- The site location.public Location getLocation()
The site location.
public Device withLocation(Location location)
The site location.
location
- The site location.public void setSiteId(String siteId)
The site ID.
siteId
- The site ID.public String getSiteId()
The site ID.
public Device withSiteId(String siteId)
The site ID.
siteId
- The site ID.public void setCreatedAt(Date createdAt)
The date and time that the site was created.
createdAt
- The date and time that the site was created.public Date getCreatedAt()
The date and time that the site was created.
public Device withCreatedAt(Date createdAt)
The date and time that the site was created.
createdAt
- The date and time that the site was created.public void setState(String state)
The device state.
state
- The device state.DeviceState
public String getState()
The device state.
DeviceState
public Device withState(String state)
The device state.
state
- The device state.DeviceState
public Device withState(DeviceState state)
The device state.
state
- The device state.DeviceState
public void setTags(Collection<Tag> tags)
The tags for the device.
tags
- The tags for the device.public Device withTags(Tag... tags)
The tags for the device.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the device.public Device withTags(Collection<Tag> tags)
The tags for the device.
tags
- The tags for 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.