@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceQueueInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about tasks and jobs queued on a device.
| Constructor and Description |
|---|
DeviceQueueInfo() |
| Modifier and Type | Method and Description |
|---|---|
DeviceQueueInfo |
clone() |
boolean |
equals(Object obj) |
String |
getQueue()
The name of the queue.
|
String |
getQueuePriority()
Optional.
|
String |
getQueueSize()
The number of jobs or tasks in the queue for a given device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setQueue(String queue)
The name of the queue.
|
void |
setQueuePriority(String queuePriority)
Optional.
|
void |
setQueueSize(String queueSize)
The number of jobs or tasks in the queue for a given device.
|
String |
toString()
Returns a string representation of this object.
|
DeviceQueueInfo |
withQueue(QueueName queue)
The name of the queue.
|
DeviceQueueInfo |
withQueue(String queue)
The name of the queue.
|
DeviceQueueInfo |
withQueuePriority(QueuePriority queuePriority)
Optional.
|
DeviceQueueInfo |
withQueuePriority(String queuePriority)
Optional.
|
DeviceQueueInfo |
withQueueSize(String queueSize)
The number of jobs or tasks in the queue for a given device.
|
public void setQueue(String queue)
The name of the queue.
queue - The name of the queue.QueueNamepublic String getQueue()
The name of the queue.
QueueNamepublic DeviceQueueInfo withQueue(String queue)
The name of the queue.
queue - The name of the queue.QueueNamepublic DeviceQueueInfo withQueue(QueueName queue)
The name of the queue.
queue - The name of the queue.QueueNamepublic void setQueuePriority(String queuePriority)
Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
queuePriority - Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in
a normal queue.QueuePrioritypublic String getQueuePriority()
Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
QueuePrioritypublic DeviceQueueInfo withQueuePriority(String queuePriority)
Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
queuePriority - Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in
a normal queue.QueuePrioritypublic DeviceQueueInfo withQueuePriority(QueuePriority queuePriority)
Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
queuePriority - Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in
a normal queue.QueuePrioritypublic void setQueueSize(String queueSize)
The number of jobs or tasks in the queue for a given device.
queueSize - The number of jobs or tasks in the queue for a given device.public String getQueueSize()
The number of jobs or tasks in the queue for a given device.
public DeviceQueueInfo withQueueSize(String queueSize)
The number of jobs or tasks in the queue for a given device.
queueSize - The number of jobs or tasks in the queue for a given device.public String toString()
toString in class ObjectObject.toString()public DeviceQueueInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.