Class ClusterSummary
- All Implemented Interfaces:
Serializable
,Cloneable
The summary description of the cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getId()
The unique identifier for the cluster.getName()
The name of the cluster.An approximation of the cost of the job flow, represented in m1.small/hours.The details about the current status of the cluster.int
hashCode()
void
The unique identifier for the cluster.void
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.toString()
Returns a string representation of this object; useful for testing and debugging.The unique identifier for the cluster.The name of the cluster.withNormalizedInstanceHours
(Integer normalizedInstanceHours) An approximation of the cost of the job flow, represented in m1.small/hours.withStatus
(ClusterStatus status) The details about the current status of the cluster.
-
Constructor Details
-
ClusterSummary
public ClusterSummary()
-
-
Method Details
-
setId
The unique identifier for the cluster.
- Parameters:
id
- The unique identifier for the cluster.
-
getId
The unique identifier for the cluster.
- Returns:
- The unique identifier for the cluster.
-
withId
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
The name of the cluster.
- Parameters:
name
- The name of the cluster.
-
getName
The name of the cluster.
- Returns:
- The name of the cluster.
-
withName
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
The details about the current status of the cluster.
- Parameters:
status
- The details about the current status of the cluster.
-
getStatus
The details about the current status of the cluster.
- Returns:
- The details about the current status of the cluster.
-
withStatus
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-