@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDeviceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDeviceResult() |
Modifier and Type | Method and Description |
---|---|
GetDeviceResult |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceArn()
The ARN of the device.
|
String |
getDeviceCapabilities()
Details about the capabilities of the device.
|
String |
getDeviceName()
The name of the device.
|
List<DeviceQueueInfo> |
getDeviceQueueInfo()
List of information about tasks and jobs queued on a device.
|
String |
getDeviceStatus()
The status of the device.
|
String |
getDeviceType()
The type of the device.
|
String |
getProviderName()
The name of the partner company for the device.
|
int |
hashCode() |
void |
setDeviceArn(String deviceArn)
The ARN of the device.
|
void |
setDeviceCapabilities(String deviceCapabilities)
Details about the capabilities of the device.
|
void |
setDeviceName(String deviceName)
The name of the device.
|
void |
setDeviceQueueInfo(Collection<DeviceQueueInfo> deviceQueueInfo)
List of information about tasks and jobs queued on a device.
|
void |
setDeviceStatus(String deviceStatus)
The status of the device.
|
void |
setDeviceType(String deviceType)
The type of the device.
|
void |
setProviderName(String providerName)
The name of the partner company for the device.
|
String |
toString()
Returns a string representation of this object.
|
GetDeviceResult |
withDeviceArn(String deviceArn)
The ARN of the device.
|
GetDeviceResult |
withDeviceCapabilities(String deviceCapabilities)
Details about the capabilities of the device.
|
GetDeviceResult |
withDeviceName(String deviceName)
The name of the device.
|
GetDeviceResult |
withDeviceQueueInfo(Collection<DeviceQueueInfo> deviceQueueInfo)
List of information about tasks and jobs queued on a device.
|
GetDeviceResult |
withDeviceQueueInfo(DeviceQueueInfo... deviceQueueInfo)
List of information about tasks and jobs queued on a device.
|
GetDeviceResult |
withDeviceStatus(DeviceStatus deviceStatus)
The status of the device.
|
GetDeviceResult |
withDeviceStatus(String deviceStatus)
The status of the device.
|
GetDeviceResult |
withDeviceType(DeviceType deviceType)
The type of the device.
|
GetDeviceResult |
withDeviceType(String deviceType)
The type of the device.
|
GetDeviceResult |
withProviderName(String providerName)
The name of the partner company for the device.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDeviceArn(String deviceArn)
The ARN of the device.
deviceArn
- The ARN of the device.public String getDeviceArn()
The ARN of the device.
public GetDeviceResult withDeviceArn(String deviceArn)
The ARN of the device.
deviceArn
- The ARN of the device.public void setDeviceCapabilities(String deviceCapabilities)
Details about the capabilities of the device.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
deviceCapabilities
- Details about the capabilities of the device.public String getDeviceCapabilities()
Details about the capabilities of the device.
This field's value will be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
public GetDeviceResult withDeviceCapabilities(String deviceCapabilities)
Details about the capabilities of the device.
This field's value must be valid JSON according to RFC 7159, including the opening and closing braces. For example: '{"key": "value"}'.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
deviceCapabilities
- Details about the capabilities of the device.public void setDeviceName(String deviceName)
The name of the device.
deviceName
- The name of the device.public String getDeviceName()
The name of the device.
public GetDeviceResult withDeviceName(String deviceName)
The name of the device.
deviceName
- The name of the device.public List<DeviceQueueInfo> getDeviceQueueInfo()
List of information about tasks and jobs queued on a device.
public void setDeviceQueueInfo(Collection<DeviceQueueInfo> deviceQueueInfo)
List of information about tasks and jobs queued on a device.
deviceQueueInfo
- List of information about tasks and jobs queued on a device.public GetDeviceResult withDeviceQueueInfo(DeviceQueueInfo... deviceQueueInfo)
List of information about tasks and jobs queued on a device.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceQueueInfo(java.util.Collection)
or withDeviceQueueInfo(java.util.Collection)
if you
want to override the existing values.
deviceQueueInfo
- List of information about tasks and jobs queued on a device.public GetDeviceResult withDeviceQueueInfo(Collection<DeviceQueueInfo> deviceQueueInfo)
List of information about tasks and jobs queued on a device.
deviceQueueInfo
- List of information about tasks and jobs queued on a device.public void setDeviceStatus(String deviceStatus)
The status of the device.
deviceStatus
- The status of the device.DeviceStatus
public String getDeviceStatus()
The status of the device.
DeviceStatus
public GetDeviceResult withDeviceStatus(String deviceStatus)
The status of the device.
deviceStatus
- The status of the device.DeviceStatus
public GetDeviceResult withDeviceStatus(DeviceStatus deviceStatus)
The status of the device.
deviceStatus
- The status of the device.DeviceStatus
public void setDeviceType(String deviceType)
The type of the device.
deviceType
- The type of the device.DeviceType
public String getDeviceType()
The type of the device.
DeviceType
public GetDeviceResult withDeviceType(String deviceType)
The type of the device.
deviceType
- The type of the device.DeviceType
public GetDeviceResult withDeviceType(DeviceType deviceType)
The type of the device.
deviceType
- The type of the device.DeviceType
public void setProviderName(String providerName)
The name of the partner company for the device.
providerName
- The name of the partner company for the device.public String getProviderName()
The name of the partner company for the device.
public GetDeviceResult withProviderName(String providerName)
The name of the partner company for the device.
providerName
- The name of the partner company for the device.public String toString()
toString
in class Object
Object.toString()
public GetDeviceResult clone()