com.amazonaws.services.elasticmapreduce.model
Class ClusterSummary

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.ClusterSummary
All Implemented Interfaces:
Serializable

public class ClusterSummary
extends Object
implements Serializable

The summary description of the cluster.

See Also:
Serialized Form

Constructor Summary
ClusterSummary()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          The unique identifier for the cluster.
 String getName()
          The name of the cluster.
 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 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 withStatus(ClusterStatus status)
          The details about the current status of the cluster.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterSummary

public ClusterSummary()
Method Detail

getId

public String getId()
The unique identifier for the cluster.

Returns:
The unique identifier for the cluster.

setId

public void setId(String id)
The unique identifier for the cluster.

Parameters:
id - The unique identifier for the cluster.

withId

public ClusterSummary withId(String id)
The unique identifier for the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
id - The unique identifier for the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The name of the cluster.

Returns:
The name of the cluster.

setName

public void setName(String name)
The name of the cluster.

Parameters:
name - The name of the cluster.

withName

public ClusterSummary withName(String name)
The name of the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The name of the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public ClusterStatus getStatus()
The details about the current status of the cluster.

Returns:
The details about the current status of the cluster.

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.

withStatus

public ClusterSummary withStatus(ClusterStatus status)
The details about the current status of the cluster.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The details about the current status of the cluster.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.