@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuantumTaskQueueInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the queue for the specified quantum task.
| Constructor and Description |
|---|
QuantumTaskQueueInfo() |
| Modifier and Type | Method and Description |
|---|---|
QuantumTaskQueueInfo |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
Optional.
|
String |
getPosition()
Current position of the task in the quantum tasks queue.
|
String |
getQueue()
The name of the queue.
|
String |
getQueuePriority()
Optional.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
Optional.
|
void |
setPosition(String position)
Current position of the task in the quantum tasks queue.
|
void |
setQueue(String queue)
The name of the queue.
|
void |
setQueuePriority(String queuePriority)
Optional.
|
String |
toString()
Returns a string representation of this object.
|
QuantumTaskQueueInfo |
withMessage(String message)
Optional.
|
QuantumTaskQueueInfo |
withPosition(String position)
Current position of the task in the quantum tasks queue.
|
QuantumTaskQueueInfo |
withQueue(QueueName queue)
The name of the queue.
|
QuantumTaskQueueInfo |
withQueue(String queue)
The name of the queue.
|
QuantumTaskQueueInfo |
withQueuePriority(QueuePriority queuePriority)
Optional.
|
QuantumTaskQueueInfo |
withQueuePriority(String queuePriority)
Optional.
|
public void setMessage(String message)
Optional. Provides more information about the queue position. For example, if the task is complete and no longer in the queue, the message field contains that information.
message - Optional. Provides more information about the queue position. For example, if the task is complete and no
longer in the queue, the message field contains that information.public String getMessage()
Optional. Provides more information about the queue position. For example, if the task is complete and no longer in the queue, the message field contains that information.
public QuantumTaskQueueInfo withMessage(String message)
Optional. Provides more information about the queue position. For example, if the task is complete and no longer in the queue, the message field contains that information.
message - Optional. Provides more information about the queue position. For example, if the task is complete and no
longer in the queue, the message field contains that information.public void setPosition(String position)
Current position of the task in the quantum tasks queue.
position - Current position of the task in the quantum tasks queue.public String getPosition()
Current position of the task in the quantum tasks queue.
public QuantumTaskQueueInfo withPosition(String position)
Current position of the task in the quantum tasks queue.
position - Current position of the task in the quantum tasks queue.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 QuantumTaskQueueInfo withQueue(String queue)
The name of the queue.
queue - The name of the queue.QueueNamepublic QuantumTaskQueueInfo 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. Quantum tasks in a priority queue are processed before the tasks in a normal queue.
queuePriority - Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the
tasks in a normal queue.QueuePrioritypublic String getQueuePriority()
Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.
QueuePrioritypublic QuantumTaskQueueInfo withQueuePriority(String queuePriority)
Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.
queuePriority - Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the
tasks in a normal queue.QueuePrioritypublic QuantumTaskQueueInfo withQueuePriority(QueuePriority queuePriority)
Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.
queuePriority - Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the
tasks in a normal queue.QueuePrioritypublic String toString()
toString in class ObjectObject.toString()public QuantumTaskQueueInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.