@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 time stamp in epoch seconds for queue creation.
|
String |
description()
An optional description that you create for each queue.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdated()
The time stamp in epoch seconds when the queue was last updated.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Type |
type()
Specifies whether this queue is system or custom.
|
String |
typeAsString()
Specifies whether this queue is system or custom.
|
copy
public String arn()
public Instant createdAt()
public String description()
public Instant lastUpdated()
public String name()
public 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 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 Integer progressingJobsCount()
public ReservationPlan reservationPlan()
public 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 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 Integer submittedJobsCount()
public 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 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Queue.Builder,Queue>
public static Queue.Builder builder()
public static Class<? extends Queue.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.