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