@Generated(value="software.amazon.awssdk:codegen") public final class ClusterSummary extends Object implements StructuredPojo, ToCopyableBuilder<ClusterSummary.Builder,ClusterSummary>
The summary description of the cluster.
Modifier and Type | Class and Description |
---|---|
static interface |
ClusterSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static ClusterSummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier for the cluster.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the cluster.
|
Integer |
normalizedInstanceHours()
An approximation of the cost of the cluster, represented in m1.small/hours.
|
static Class<? extends ClusterSummary.Builder> |
serializableBuilderClass() |
ClusterStatus |
status()
The details about the current status of the cluster.
|
ClusterSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The unique identifier for the cluster.
public String name()
The name of the cluster.
public ClusterStatus status()
The details about the current status of the cluster.
public Integer normalizedInstanceHours()
An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
public ClusterSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ClusterSummary.Builder,ClusterSummary>
public static ClusterSummary.Builder builder()
public static Class<? extends ClusterSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.