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