@Generated(value="software.amazon.awssdk:codegen") public class ClusterListEntry extends Object implements StructuredPojo, ToCopyableBuilder<ClusterListEntry.Builder,ClusterListEntry>
Contains a cluster's state, a cluster's ID, and other important information.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterListEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusterListEntry.Builder |
builder() |
String |
clusterId()
The 39-character ID for the cluster that you want to list, for example
CID123e4567-e89b-12d3-a456-426655440000. |
ClusterState |
clusterState()
The current state of this cluster.
|
String |
clusterStateAsString()
The current state of this cluster.
|
Instant |
creationDate()
The creation date for this cluster.
|
String |
description()
Defines an optional description of the cluster, for example
Environmental Data Cluster-01. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends ClusterListEntry.Builder> |
serializableBuilderClass() |
ClusterListEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String clusterId()
The 39-character ID for the cluster that you want to list, for example
CID123e4567-e89b-12d3-a456-426655440000.
CID123e4567-e89b-12d3-a456-426655440000.public ClusterState clusterState()
The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState.
If the service returns an enum value that is not available in the current SDK version, clusterState will
return ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
clusterStateAsString().
ClusterStatepublic String clusterStateAsString()
The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState.
If the service returns an enum value that is not available in the current SDK version, clusterState will
return ClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
clusterStateAsString().
ClusterStatepublic Instant creationDate()
The creation date for this cluster.
public String description()
Defines an optional description of the cluster, for example Environmental Data Cluster-01.
Environmental Data Cluster-01.public ClusterListEntry.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ClusterListEntry.Builder,ClusterListEntry>public static ClusterListEntry.Builder builder()
public static Class<? extends ClusterListEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.