@Generated(value="software.amazon.awssdk:codegen") public final class InstanceFleetTimeline extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceFleetTimeline.Builder,InstanceFleetTimeline>
Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceFleetTimeline.Builder |
Modifier and Type | Method and Description |
---|---|
static InstanceFleetTimeline.Builder |
builder() |
Instant |
creationDateTime()
The time and date the instance fleet was created.
|
Instant |
endDateTime()
The time and date the instance fleet terminated.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
readyDateTime()
The time and date the instance fleet was ready to run jobs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceFleetTimeline.Builder> |
serializableBuilderClass() |
InstanceFleetTimeline.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final Instant creationDateTime()
The time and date the instance fleet was created.
public final Instant readyDateTime()
The time and date the instance fleet was ready to run jobs.
public final Instant endDateTime()
The time and date the instance fleet terminated.
public InstanceFleetTimeline.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceFleetTimeline.Builder,InstanceFleetTimeline>
public static InstanceFleetTimeline.Builder builder()
public static Class<? extends InstanceFleetTimeline.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()