Class QueueSummary
- java.lang.Object
-
- software.amazon.awssdk.services.pcs.model.QueueSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QueueSummary.Builder,QueueSummary>
@Generated("software.amazon.awssdk:codegen") public final class QueueSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueueSummary.Builder,QueueSummary>
The object returned by the
ListQueuesAPI action.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQueueSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The unique Amazon Resource Name (ARN) of the queue.static QueueSummary.Builderbuilder()StringclusterId()The ID of the cluster of the queue.InstantcreatedAt()The date and time the resource was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The generated unique ID of the queue.InstantmodifiedAt()The date and time the resource was modified.Stringname()The name that identifies the queue.List<SdkField<?>>sdkFields()static Class<? extends QueueSummary.Builder>serializableBuilderClass()QueueStatusstatus()The provisioning status of the queue.StringstatusAsString()The provisioning status of the queue.QueueSummary.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
-
name
public final String name()
The name that identifies the queue.
- Returns:
- The name that identifies the queue.
-
id
public final String id()
The generated unique ID of the queue.
- Returns:
- The generated unique ID of the queue.
-
arn
public final String arn()
The unique Amazon Resource Name (ARN) of the queue.
- Returns:
- The unique Amazon Resource Name (ARN) of the queue.
-
clusterId
public final String clusterId()
The ID of the cluster of the queue.
- Returns:
- The ID of the cluster of the queue.
-
createdAt
public final Instant createdAt()
The date and time the resource was created.
- Returns:
- The date and time the resource was created.
-
modifiedAt
public final Instant modifiedAt()
The date and time the resource was modified.
- Returns:
- The date and time the resource was modified.
-
status
public final QueueStatus status()
The provisioning status of the queue.
The provisioning status doesn't indicate the overall health of the queue.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnQueueStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The provisioning status of the queue.
The provisioning status doesn't indicate the overall health of the queue.
- See Also:
QueueStatus
-
statusAsString
public final String statusAsString()
The provisioning status of the queue.
The provisioning status doesn't indicate the overall health of the queue.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnQueueStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The provisioning status of the queue.
The provisioning status doesn't indicate the overall health of the queue.
- See Also:
QueueStatus
-
toBuilder
public QueueSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QueueSummary.Builder,QueueSummary>
-
builder
public static QueueSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends QueueSummary.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.
-
-