public class ClusterSummary extends Object implements Serializable, Cloneable
The summary description of the cluster.
Constructor and Description |
---|
ClusterSummary() |
Modifier and Type | Method and Description |
---|---|
ClusterSummary |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier for the cluster.
|
String |
getName()
The name of the cluster.
|
Integer |
getNormalizedInstanceHours()
An approximation of the cost of the job flow, represented in
m1.small/hours.
|
ClusterStatus |
getStatus()
The details about the current status of the cluster.
|
int |
hashCode() |
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 job flow, represented in
m1.small/hours.
|
void |
setStatus(ClusterStatus status)
The details about the current status of the cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 job flow, represented in
m1.small/hours.
|
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 job flow, 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.
normalizedInstanceHours
- An approximation of the cost of the job flow, 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 Integer getNormalizedInstanceHours()
An approximation of the cost of the job flow, 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 withNormalizedInstanceHours(Integer normalizedInstanceHours)
An approximation of the cost of the job flow, 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.
normalizedInstanceHours
- An approximation of the cost of the job flow, 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 String toString()
toString
in class Object
Object.toString()
public ClusterSummary clone()
Copyright © 2016. All rights reserved.