@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary description of the cluster.
Constructor and Description |
---|
ClusterSummary() |
Modifier and Type | Method and Description |
---|---|
ClusterSummary |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name of the cluster.
|
String |
getId()
The unique identifier for the cluster.
|
String |
getName()
The name of the cluster.
|
Integer |
getNormalizedInstanceHours()
An approximation of the cost of the cluster, represented in m1.small/hours.
|
String |
getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
|
ClusterStatus |
getStatus()
The details about the current status of the cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
|
void |
setId(String id)
The unique identifier for the cluster.
|
void |
setName(String name)
The name of the cluster.
|
void |
setNormalizedInstanceHours(Integer normalizedInstanceHours)
An approximation of the cost of the cluster, represented in m1.small/hours.
|
void |
setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
|
void |
setStatus(ClusterStatus status)
The details about the current status of the cluster.
|
String |
toString()
Returns a string representation of this object.
|
ClusterSummary |
withClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
|
ClusterSummary |
withId(String id)
The unique identifier for the cluster.
|
ClusterSummary |
withName(String name)
The name of the cluster.
|
ClusterSummary |
withNormalizedInstanceHours(Integer normalizedInstanceHours)
An approximation of the cost of the cluster, represented in m1.small/hours.
|
ClusterSummary |
withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
|
ClusterSummary |
withStatus(ClusterStatus status)
The details about the current status of the cluster.
|
public void setId(String id)
The unique identifier for the cluster.
id
- The unique identifier for the cluster.public String getId()
The unique identifier for the cluster.
public ClusterSummary withId(String id)
The unique identifier for the cluster.
id
- The unique identifier for the cluster.public void setName(String name)
The name of the cluster.
name
- The name of the cluster.public String getName()
The name of the cluster.
public ClusterSummary withName(String name)
The name of the cluster.
name
- The name of the cluster.public void setStatus(ClusterStatus status)
The details about the current status of the cluster.
status
- The details about the current status of the cluster.public ClusterStatus getStatus()
The details about the current status of the cluster.
public ClusterSummary withStatus(ClusterStatus status)
The details about the current status of the cluster.
status
- The details about the current status of the cluster.public void setNormalizedInstanceHours(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 Amazon 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.
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 Amazon 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 Integer getNormalizedInstanceHours()
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 Amazon 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 withNormalizedInstanceHours(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 Amazon 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.
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 Amazon 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 void setClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
clusterArn
- The Amazon Resource Name of the cluster.public String getClusterArn()
The Amazon Resource Name of the cluster.
public ClusterSummary withClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
clusterArn
- The Amazon Resource Name of the cluster.public void setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.public String getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
public ClusterSummary withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.public String toString()
toString
in class Object
Object.toString()
public ClusterSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.