Class ClusterSummary
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.ClusterSummary
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ClusterSummary extends Object implements Serializable, Cloneable
The summary description of the cluster.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSummaryclone()booleanequals(Object obj)StringgetId()The unique identifier for the cluster.StringgetName()The name of the cluster.IntegergetNormalizedInstanceHours()An approximation of the cost of the job flow, represented in m1.small/hours.ClusterStatusgetStatus()The details about the current status of the cluster.inthashCode()voidsetId(String id)The unique identifier for the cluster.voidsetName(String name)The name of the cluster.voidsetNormalizedInstanceHours(Integer normalizedInstanceHours)An approximation of the cost of the job flow, represented in m1.small/hours.voidsetStatus(ClusterStatus status)The details about the current status of the cluster.StringtoString()Returns a string representation of this object; useful for testing and debugging.ClusterSummarywithId(String id)The unique identifier for the cluster.ClusterSummarywithName(String name)The name of the cluster.ClusterSummarywithNormalizedInstanceHours(Integer normalizedInstanceHours)An approximation of the cost of the job flow, represented in m1.small/hours.ClusterSummarywithStatus(ClusterStatus status)The details about the current status of the cluster.
-
-
-
Method Detail
-
setId
public void setId(String id)
The unique identifier for the cluster.
- Parameters:
id- The unique identifier for the cluster.
-
getId
public String getId()
The unique identifier for the cluster.
- Returns:
- The unique identifier for the cluster.
-
withId
public ClusterSummary withId(String id)
The unique identifier for the cluster.
- Parameters:
id- The unique identifier for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The name of the cluster.
- Parameters:
name- The name of the cluster.
-
getName
public String getName()
The name of the cluster.
- Returns:
- The name of the cluster.
-
withName
public ClusterSummary withName(String name)
The name of the cluster.
- Parameters:
name- The name of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(ClusterStatus status)
The details about the current status of the cluster.
- Parameters:
status- The details about the current status of the cluster.
-
getStatus
public ClusterStatus getStatus()
The details about the current status of the cluster.
- Returns:
- The details about the current status of the cluster.
-
withStatus
public ClusterSummary withStatus(ClusterStatus status)
The details about the current status of the cluster.
- Parameters:
status- The details about the current status of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNormalizedInstanceHours
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.
- Parameters:
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.
-
getNormalizedInstanceHours
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.
- Returns:
- 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.
-
withNormalizedInstanceHours
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClusterSummary clone()
-
-