Class DeviceQueueInfo
- java.lang.Object
-
- software.amazon.awssdk.services.braket.model.DeviceQueueInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeviceQueueInfo.Builder,DeviceQueueInfo>
@Generated("software.amazon.awssdk:codegen") public final class DeviceQueueInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceQueueInfo.Builder,DeviceQueueInfo>
Information about tasks and jobs queued on a device.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeviceQueueInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceQueueInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()QueueNamequeue()The name of the queue.StringqueueAsString()The name of the queue.QueuePriorityqueuePriority()Optional.StringqueuePriorityAsString()Optional.StringqueueSize()The number of jobs or tasks in the queue for a given device.List<SdkField<?>>sdkFields()static Class<? extends DeviceQueueInfo.Builder>serializableBuilderClass()DeviceQueueInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
queue
public final QueueName queue()
The name of the queue.
If the service returns an enum value that is not available in the current SDK version,
queuewill returnQueueName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueueAsString().- Returns:
- The name of the queue.
- See Also:
QueueName
-
queueAsString
public final String queueAsString()
The name of the queue.
If the service returns an enum value that is not available in the current SDK version,
queuewill returnQueueName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueueAsString().- Returns:
- The name of the queue.
- See Also:
QueueName
-
queuePriority
public final QueuePriority queuePriority()
Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
If the service returns an enum value that is not available in the current SDK version,
queuePrioritywill returnQueuePriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueuePriorityAsString().- Returns:
- Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
- See Also:
QueuePriority
-
queuePriorityAsString
public final String queuePriorityAsString()
Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
If the service returns an enum value that is not available in the current SDK version,
queuePrioritywill returnQueuePriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueuePriorityAsString().- Returns:
- Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
- See Also:
QueuePriority
-
queueSize
public final String queueSize()
The number of jobs or tasks in the queue for a given device.
- Returns:
- The number of jobs or tasks in the queue for a given device.
-
toBuilder
public DeviceQueueInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeviceQueueInfo.Builder,DeviceQueueInfo>
-
builder
public static DeviceQueueInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeviceQueueInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-