public class ClusterTimeline
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the timeline of the cluster's lifecycle.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
creationDateTime
The creation date and time of the cluster.
|
private java.util.Date |
endDateTime
The date and time when the cluster was terminated.
|
private java.util.Date |
readyDateTime
The date and time when the cluster was ready to execute steps.
|
Constructor and Description |
---|
ClusterTimeline() |
Modifier and Type | Method and Description |
---|---|
ClusterTimeline |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDateTime()
The creation date and time of the cluster.
|
java.util.Date |
getEndDateTime()
The date and time when the cluster was terminated.
|
java.util.Date |
getReadyDateTime()
The date and time when the cluster was ready to execute steps.
|
int |
hashCode() |
void |
setCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the cluster.
|
void |
setEndDateTime(java.util.Date endDateTime)
The date and time when the cluster was terminated.
|
void |
setReadyDateTime(java.util.Date readyDateTime)
The date and time when the cluster was ready to execute steps.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClusterTimeline |
withCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the cluster.
|
ClusterTimeline |
withEndDateTime(java.util.Date endDateTime)
The date and time when the cluster was terminated.
|
ClusterTimeline |
withReadyDateTime(java.util.Date readyDateTime)
The date and time when the cluster was ready to execute steps.
|
private java.util.Date creationDateTime
The creation date and time of the cluster.
private java.util.Date readyDateTime
The date and time when the cluster was ready to execute steps.
private java.util.Date endDateTime
The date and time when the cluster was terminated.
public void setCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the cluster.
creationDateTime
- The creation date and time of the cluster.public java.util.Date getCreationDateTime()
The creation date and time of the cluster.
public ClusterTimeline withCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the cluster.
creationDateTime
- The creation date and time of the cluster.public void setReadyDateTime(java.util.Date readyDateTime)
The date and time when the cluster was ready to execute steps.
readyDateTime
- The date and time when the cluster was ready to execute steps.public java.util.Date getReadyDateTime()
The date and time when the cluster was ready to execute steps.
public ClusterTimeline withReadyDateTime(java.util.Date readyDateTime)
The date and time when the cluster was ready to execute steps.
readyDateTime
- The date and time when the cluster was ready to execute steps.public void setEndDateTime(java.util.Date endDateTime)
The date and time when the cluster was terminated.
endDateTime
- The date and time when the cluster was terminated.public java.util.Date getEndDateTime()
The date and time when the cluster was terminated.
public ClusterTimeline withEndDateTime(java.util.Date endDateTime)
The date and time when the cluster was terminated.
endDateTime
- The date and time when the cluster was terminated.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ClusterTimeline clone()
clone
in class java.lang.Object