@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.QueueName
public String getQueue()
The name of the queue.
QueueName
public DeviceQueueInfo withQueue(String queue)
The name of the queue.
queue
- The name of the queue.QueueName
public DeviceQueueInfo withQueue(QueueName queue)
The name of the queue.
queue
- The name of the queue.QueueName
public 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.QueuePriority
public String getQueuePriority()
Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
QueuePriority
public 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.QueuePriority
public 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.QueuePriority
public 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 Object
Object.toString()
public DeviceQueueInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.