@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceFleetStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the instance fleet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Constructor and Description |
---|
InstanceFleetStatus() |
Modifier and Type | Method and Description |
---|---|
InstanceFleetStatus |
clone() |
boolean |
equals(Object obj) |
String |
getState()
A code representing the instance fleet status.
|
InstanceFleetStateChangeReason |
getStateChangeReason()
Provides status change reason details for the instance fleet.
|
InstanceFleetTimeline |
getTimeline()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setState(InstanceFleetState state)
A code representing the instance fleet status.
|
void |
setState(String state)
A code representing the instance fleet status.
|
void |
setStateChangeReason(InstanceFleetStateChangeReason stateChangeReason)
Provides status change reason details for the instance fleet.
|
void |
setTimeline(InstanceFleetTimeline timeline)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceFleetStatus |
withState(InstanceFleetState state)
A code representing the instance fleet status.
|
InstanceFleetStatus |
withState(String state)
A code representing the instance fleet status.
|
InstanceFleetStatus |
withStateChangeReason(InstanceFleetStateChangeReason stateChangeReason)
Provides status change reason details for the instance fleet.
|
InstanceFleetStatus |
withTimeline(InstanceFleetTimeline timeline)
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.
|
public void setState(String state)
A code representing the instance fleet status.
state
- A code representing the instance fleet status.InstanceFleetState
public String getState()
A code representing the instance fleet status.
InstanceFleetState
public InstanceFleetStatus withState(String state)
A code representing the instance fleet status.
state
- A code representing the instance fleet status.InstanceFleetState
public void setState(InstanceFleetState state)
A code representing the instance fleet status.
state
- A code representing the instance fleet status.InstanceFleetState
public InstanceFleetStatus withState(InstanceFleetState state)
A code representing the instance fleet status.
state
- A code representing the instance fleet status.InstanceFleetState
public void setStateChangeReason(InstanceFleetStateChangeReason stateChangeReason)
Provides status change reason details for the instance fleet.
stateChangeReason
- Provides status change reason details for the instance fleet.public InstanceFleetStateChangeReason getStateChangeReason()
Provides status change reason details for the instance fleet.
public InstanceFleetStatus withStateChangeReason(InstanceFleetStateChangeReason stateChangeReason)
Provides status change reason details for the instance fleet.
stateChangeReason
- Provides status change reason details for the instance fleet.public void setTimeline(InstanceFleetTimeline timeline)
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.
timeline
- 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.public InstanceFleetTimeline getTimeline()
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.
public InstanceFleetStatus withTimeline(InstanceFleetTimeline timeline)
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.
timeline
- 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.public String toString()
toString
in class Object
Object.toString()
public InstanceFleetStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.