public class InstanceTimeline extends Object implements Serializable
The timeline of the instance lifecycle.
Constructor and Description |
---|
InstanceTimeline() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The creation date and time of the instance.
|
Date |
getEndDateTime()
The date and time when the instance was terminated.
|
Date |
getReadyDateTime()
The date and time when the instance was ready to perform tasks.
|
int |
hashCode() |
void |
setCreationDateTime(Date creationDateTime)
The creation date and time of the instance.
|
void |
setEndDateTime(Date endDateTime)
The date and time when the instance was terminated.
|
void |
setReadyDateTime(Date readyDateTime)
The date and time when the instance was ready to perform tasks.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceTimeline |
withCreationDateTime(Date creationDateTime)
The creation date and time of the instance.
|
InstanceTimeline |
withEndDateTime(Date endDateTime)
The date and time when the instance was terminated.
|
InstanceTimeline |
withReadyDateTime(Date readyDateTime)
The date and time when the instance was ready to perform tasks.
|
public Date getCreationDateTime()
public void setCreationDateTime(Date creationDateTime)
creationDateTime
- The creation date and time of the instance.public InstanceTimeline 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 instance.public Date getReadyDateTime()
public void setReadyDateTime(Date readyDateTime)
readyDateTime
- The date and time when the instance was ready to perform tasks.public InstanceTimeline withReadyDateTime(Date readyDateTime)
Returns a reference to this object so that method calls can be chained together.
readyDateTime
- The date and time when the instance was ready to perform tasks.public Date getEndDateTime()
public void setEndDateTime(Date endDateTime)
endDateTime
- The date and time when the instance was terminated.public InstanceTimeline withEndDateTime(Date endDateTime)
Returns a reference to this object so that method calls can be chained together.
endDateTime
- The date and time when the instance was terminated.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.