Class ClusterTimeline
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.ClusterTimeline
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ClusterTimeline extends Object implements Serializable, Cloneable
Represents the timeline of the cluster's lifecycle.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterTimeline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterTimelineclone()booleanequals(Object obj)DategetCreationDateTime()The creation date and time of the cluster.DategetEndDateTime()The date and time when the cluster was terminated.DategetReadyDateTime()The date and time when the cluster was ready to execute steps.inthashCode()voidsetCreationDateTime(Date creationDateTime)The creation date and time of the cluster.voidsetEndDateTime(Date endDateTime)The date and time when the cluster was terminated.voidsetReadyDateTime(Date readyDateTime)The date and time when the cluster was ready to execute steps.StringtoString()Returns a string representation of this object; useful for testing and debugging.ClusterTimelinewithCreationDateTime(Date creationDateTime)The creation date and time of the cluster.ClusterTimelinewithEndDateTime(Date endDateTime)The date and time when the cluster was terminated.ClusterTimelinewithReadyDateTime(Date readyDateTime)The date and time when the cluster was ready to execute steps.
-
-
-
Method Detail
-
setCreationDateTime
public void setCreationDateTime(Date creationDateTime)
The creation date and time of the cluster.
- Parameters:
creationDateTime- The creation date and time of the cluster.
-
getCreationDateTime
public Date getCreationDateTime()
The creation date and time of the cluster.
- Returns:
- The creation date and time of the cluster.
-
withCreationDateTime
public ClusterTimeline withCreationDateTime(Date creationDateTime)
The creation date and time of the cluster.
- Parameters:
creationDateTime- The creation date and time of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
withReadyDateTime
public ClusterTimeline withReadyDateTime(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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
getEndDateTime
public Date getEndDateTime()
The date and time when the cluster was terminated.
- Returns:
- The date and time when the cluster was terminated.
-
withEndDateTime
public ClusterTimeline withEndDateTime(Date endDateTime)
The date and time when the cluster was terminated.
- Parameters:
endDateTime- The date and time when the cluster was terminated.- 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 ClusterTimeline clone()
-
-