public class ClusterTimeline extends Object implements Serializable, Cloneable
Represents the timeline of the cluster's lifecycle.
Constructor and Description |
---|
ClusterTimeline() |
Modifier and Type | Method and Description |
---|---|
ClusterTimeline |
clone() |
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.
|
public Date getCreationDateTime()
public void setCreationDateTime(Date creationDateTime)
creationDateTime
- The creation date and time of the cluster.public ClusterTimeline withCreationDateTime(Date creationDateTime)
Returns a reference to this object so that method calls can be chained together.
creationDateTime
- The creation date and time of the cluster.public Date getReadyDateTime()
public void setReadyDateTime(Date readyDateTime)
readyDateTime
- The date and time when the cluster was ready to execute steps.public ClusterTimeline withReadyDateTime(Date readyDateTime)
Returns a reference to this object so that method calls can be chained together.
readyDateTime
- The date and time when the cluster was ready to execute steps.public Date getEndDateTime()
public void setEndDateTime(Date endDateTime)
endDateTime
- The date and time when the cluster was terminated.public ClusterTimeline withEndDateTime(Date endDateTime)
Returns a reference to this object so that method calls can be chained together.
endDateTime
- The date and time when the cluster was terminated.public String toString()
toString
in class Object
Object.toString()
public ClusterTimeline clone()
Copyright © 2015. All rights reserved.