@Generated(value="software.amazon.awssdk:codegen") public final class Queue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Queue.Builder,Queue>
Modifier and Type | Class and Description |
---|---|
static interface |
Queue.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
An identifier for this resource that is unique within all of AWS.
|
static Queue.Builder |
builder() |
Instant |
createdAt()
The timestamp in epoch seconds for when you created the queue.
|
String |
description()
An optional description that you create for each queue.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdated()
The timestamp in epoch seconds for when you most recently updated the queue.
|
String |
name()
A name that you create for each queue.
|
PricingPlan |
pricingPlan()
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
String |
pricingPlanAsString()
Specifies whether the pricing plan for the queue is on-demand or reserved.
|
Integer |
progressingJobsCount()
The estimated number of jobs with a PROGRESSING status.
|
ReservationPlan |
reservationPlan()
Details about the pricing plan for your reserved queue.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Queue.Builder> |
serializableBuilderClass() |
QueueStatus |
status()
Queues can be ACTIVE or PAUSED.
|
String |
statusAsString()
Queues can be ACTIVE or PAUSED.
|
Integer |
submittedJobsCount()
The estimated number of jobs with a SUBMITTED status.
|
Queue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Type |
type()
Specifies whether this on-demand queue is system or custom.
|
String |
typeAsString()
Specifies whether this on-demand queue is system or custom.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String arn()
public final Instant createdAt()
public final String description()
public final Instant lastUpdated()
public final String name()
public final PricingPlan pricingPlan()
If the service returns an enum value that is not available in the current SDK version, pricingPlan
will
return PricingPlan.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
pricingPlanAsString()
.
PricingPlan
public final String pricingPlanAsString()
If the service returns an enum value that is not available in the current SDK version, pricingPlan
will
return PricingPlan.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
pricingPlanAsString()
.
PricingPlan
public final Integer progressingJobsCount()
public final ReservationPlan reservationPlan()
public final QueueStatus status()
If the service returns an enum value that is not available in the current SDK version, status
will
return QueueStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
QueueStatus
public final String statusAsString()
If the service returns an enum value that is not available in the current SDK version, status
will
return QueueStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
QueueStatus
public final Integer submittedJobsCount()
public final Type type()
If the service returns an enum value that is not available in the current SDK version, type
will return
Type.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
Type
public final String typeAsString()
If the service returns an enum value that is not available in the current SDK version, type
will return
Type.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
Type
public Queue.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Queue.Builder,Queue>
public static Queue.Builder builder()
public static Class<? extends Queue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.