Class ClusterListEntry
- java.lang.Object
-
- software.amazon.awssdk.services.snowball.model.ClusterListEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClusterListEntry.Builder,ClusterListEntry>
@Generated("software.amazon.awssdk:codegen") public final class ClusterListEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterListEntry.Builder,ClusterListEntry>
Contains a cluster's state, a cluster's ID, and other important information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClusterListEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterListEntry.Builderbuilder()StringclusterId()The 39-character ID for the cluster that you want to list, for exampleCID123e4567-e89b-12d3-a456-426655440000.ClusterStateclusterState()The current state of this cluster.StringclusterStateAsString()The current state of this cluster.InstantcreationDate()The creation date for this cluster.Stringdescription()Defines an optional description of the cluster, for exampleEnvironmental Data Cluster-01.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ClusterListEntry.Builder>serializableBuilderClass()ClusterListEntry.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
-
clusterId
public final String clusterId()
The 39-character ID for the cluster that you want to list, for example
CID123e4567-e89b-12d3-a456-426655440000.- Returns:
- The 39-character ID for the cluster that you want to list, for example
CID123e4567-e89b-12d3-a456-426655440000.
-
clusterState
public final 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,
clusterStatewill returnClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclusterStateAsString().- Returns:
- The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState.
- See Also:
ClusterState
-
clusterStateAsString
public final 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,
clusterStatewill returnClusterState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclusterStateAsString().- Returns:
- The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState.
- See Also:
ClusterState
-
creationDate
public final Instant creationDate()
The creation date for this cluster.
- Returns:
- The creation date for this cluster.
-
description
public final String description()
Defines an optional description of the cluster, for example
Environmental Data Cluster-01.- Returns:
- Defines an optional description of the cluster, for example
Environmental Data Cluster-01.
-
toBuilder
public ClusterListEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterListEntry.Builder,ClusterListEntry>
-
builder
public static ClusterListEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterListEntry.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-