Class InstanceGroupTimeline
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.InstanceGroupTimeline
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InstanceGroupTimeline extends Object implements Serializable, Cloneable
The timeline of the instance group lifecycle.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceGroupTimeline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupTimeline
clone()
boolean
equals(Object obj)
Date
getCreationDateTime()
The creation date and time of the instance group.Date
getEndDateTime()
The date and time when the instance group terminated.Date
getReadyDateTime()
The date and time when the instance group became ready to perform tasks.int
hashCode()
void
setCreationDateTime(Date creationDateTime)
The creation date and time of the instance group.void
setEndDateTime(Date endDateTime)
The date and time when the instance group terminated.void
setReadyDateTime(Date readyDateTime)
The date and time when the instance group became ready to perform tasks.String
toString()
Returns a string representation of this object; useful for testing and debugging.InstanceGroupTimeline
withCreationDateTime(Date creationDateTime)
The creation date and time of the instance group.InstanceGroupTimeline
withEndDateTime(Date endDateTime)
The date and time when the instance group terminated.InstanceGroupTimeline
withReadyDateTime(Date readyDateTime)
The date and time when the instance group became ready to perform tasks.
-
-
-
Method Detail
-
setCreationDateTime
public void setCreationDateTime(Date creationDateTime)
The creation date and time of the instance group.
- Parameters:
creationDateTime
- The creation date and time of the instance group.
-
getCreationDateTime
public Date getCreationDateTime()
The creation date and time of the instance group.
- Returns:
- The creation date and time of the instance group.
-
withCreationDateTime
public InstanceGroupTimeline withCreationDateTime(Date creationDateTime)
The creation date and time of the instance group.
- Parameters:
creationDateTime
- The creation date and time of the instance group.- 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 instance group became ready to perform tasks.
- Parameters:
readyDateTime
- The date and time when the instance group became ready to perform tasks.
-
getReadyDateTime
public Date getReadyDateTime()
The date and time when the instance group became ready to perform tasks.
- Returns:
- The date and time when the instance group became ready to perform tasks.
-
withReadyDateTime
public InstanceGroupTimeline withReadyDateTime(Date readyDateTime)
The date and time when the instance group became ready to perform tasks.
- Parameters:
readyDateTime
- The date and time when the instance group became ready to perform tasks.- 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 instance group terminated.
- Parameters:
endDateTime
- The date and time when the instance group terminated.
-
getEndDateTime
public Date getEndDateTime()
The date and time when the instance group terminated.
- Returns:
- The date and time when the instance group terminated.
-
withEndDateTime
public InstanceGroupTimeline withEndDateTime(Date endDateTime)
The date and time when the instance group terminated.
- Parameters:
endDateTime
- The date and time when the instance group 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceGroupTimeline clone()
-
-