com.amazonaws.services.elasticmapreduce.model
Class ClusterTimeline

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

public class ClusterTimeline
extends Object
implements Serializable

Represents the timeline of the cluster's lifecycle.

See Also:
Serialized Form

Constructor Summary
ClusterTimeline()
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getCreationDateTime()
          The creation date and time of the cluster.
 Date getEndDateTime()
          The date and time when the cluster was terminated.
 Date getReadyDateTime()
          The date and time when the cluster was ready to execute steps.
 int hashCode()
           
 void setCreationDateTime(Date creationDateTime)
          The creation date and time of the cluster.
 void setEndDateTime(Date endDateTime)
          The date and time when the cluster was terminated.
 void setReadyDateTime(Date readyDateTime)
          The date and time when the cluster was ready to execute steps.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ClusterTimeline withCreationDateTime(Date creationDateTime)
          The creation date and time of the cluster.
 ClusterTimeline withEndDateTime(Date endDateTime)
          The date and time when the cluster was terminated.
 ClusterTimeline withReadyDateTime(Date readyDateTime)
          The date and time when the cluster was ready to execute steps.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterTimeline

public ClusterTimeline()
Method Detail

getCreationDateTime

public Date getCreationDateTime()
The creation date and time of the cluster.

Returns:
The creation date and time of the cluster.

setCreationDateTime

public void setCreationDateTime(Date creationDateTime)
The creation date and time of the cluster.

Parameters:
creationDateTime - The creation date and time of the cluster.

withCreationDateTime

public ClusterTimeline withCreationDateTime(Date creationDateTime)
The creation date and time of the cluster.

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

Parameters:
creationDateTime - The creation date and time of the cluster.
Returns:
A reference to this updated object so that method calls can be chained together.

getReadyDateTime

public Date getReadyDateTime()
The date and time when the cluster was ready to execute steps.

Returns:
The date and time when the cluster was ready to execute steps.

setReadyDateTime

public void setReadyDateTime(Date readyDateTime)
The date and time when the cluster was ready to execute steps.

Parameters:
readyDateTime - The date and time when the cluster was ready to execute steps.

withReadyDateTime

public ClusterTimeline withReadyDateTime(Date readyDateTime)
The date and time when the cluster was ready to execute steps.

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

Parameters:
readyDateTime - The date and time when the cluster was ready to execute steps.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndDateTime

public Date getEndDateTime()
The date and time when the cluster was terminated.

Returns:
The date and time when the cluster was terminated.

setEndDateTime

public void setEndDateTime(Date endDateTime)
The date and time when the cluster was terminated.

Parameters:
endDateTime - The date and time when the cluster was terminated.

withEndDateTime

public ClusterTimeline withEndDateTime(Date endDateTime)
The date and time when the cluster was terminated.

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

Parameters:
endDateTime - The date and time when the cluster was terminated.
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.