Class ClusterSummary
- java.lang.Object
-
- software.amazon.awssdk.services.pcs.model.ClusterSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClusterSummary.Builder,ClusterSummary>
@Generated("software.amazon.awssdk:codegen") public final class ClusterSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterSummary.Builder,ClusterSummary>
The object returned by the
ListClustersAPI action.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClusterSummary.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 cluster.static ClusterSummary.Builderbuilder()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 cluster.InstantmodifiedAt()The date and time the resource was modified.Stringname()The name that identifies the cluster.List<SdkField<?>>sdkFields()static Class<? extends ClusterSummary.Builder>serializableBuilderClass()ClusterStatusstatus()The provisioning status of the cluster.StringstatusAsString()The provisioning status of the cluster.ClusterSummary.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 cluster.
- Returns:
- The name that identifies the cluster.
-
id
public final String id()
The generated unique ID of the cluster.
- Returns:
- The generated unique ID of the cluster.
-
arn
public final String arn()
The unique Amazon Resource Name (ARN) of the cluster.
- Returns:
- The unique Amazon Resource Name (ARN) of the cluster.
-
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 ClusterStatus status()
The provisioning status of the cluster.
The provisioning status doesn't indicate the overall health of the cluster.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnClusterStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The provisioning status of the cluster.
The provisioning status doesn't indicate the overall health of the cluster.
- See Also:
ClusterStatus
-
statusAsString
public final String statusAsString()
The provisioning status of the cluster.
The provisioning status doesn't indicate the overall health of the cluster.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnClusterStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The provisioning status of the cluster.
The provisioning status doesn't indicate the overall health of the cluster.
- See Also:
ClusterStatus
-
toBuilder
public ClusterSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterSummary.Builder,ClusterSummary>
-
builder
public static ClusterSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterSummary.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.
-
-