@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteFleetSuccessItem extends Object implements Serializable, Cloneable
Describes an EC2 Fleet that was successfully deleted.
Constructor and Description |
---|
DeleteFleetSuccessItem() |
Modifier and Type | Method and Description |
---|---|
DeleteFleetSuccessItem |
clone() |
boolean |
equals(Object obj) |
String |
getCurrentFleetState()
The current state of the EC2 Fleet.
|
String |
getFleetId()
The ID of the EC2 Fleet.
|
String |
getPreviousFleetState()
The previous state of the EC2 Fleet.
|
int |
hashCode() |
void |
setCurrentFleetState(String currentFleetState)
The current state of the EC2 Fleet.
|
void |
setFleetId(String fleetId)
The ID of the EC2 Fleet.
|
void |
setPreviousFleetState(String previousFleetState)
The previous state of the EC2 Fleet.
|
String |
toString()
Returns a string representation of this object.
|
DeleteFleetSuccessItem |
withCurrentFleetState(FleetStateCode currentFleetState)
The current state of the EC2 Fleet.
|
DeleteFleetSuccessItem |
withCurrentFleetState(String currentFleetState)
The current state of the EC2 Fleet.
|
DeleteFleetSuccessItem |
withFleetId(String fleetId)
The ID of the EC2 Fleet.
|
DeleteFleetSuccessItem |
withPreviousFleetState(FleetStateCode previousFleetState)
The previous state of the EC2 Fleet.
|
DeleteFleetSuccessItem |
withPreviousFleetState(String previousFleetState)
The previous state of the EC2 Fleet.
|
public void setCurrentFleetState(String currentFleetState)
The current state of the EC2 Fleet.
currentFleetState
- The current state of the EC2 Fleet.FleetStateCode
public String getCurrentFleetState()
The current state of the EC2 Fleet.
FleetStateCode
public DeleteFleetSuccessItem withCurrentFleetState(String currentFleetState)
The current state of the EC2 Fleet.
currentFleetState
- The current state of the EC2 Fleet.FleetStateCode
public DeleteFleetSuccessItem withCurrentFleetState(FleetStateCode currentFleetState)
The current state of the EC2 Fleet.
currentFleetState
- The current state of the EC2 Fleet.FleetStateCode
public void setPreviousFleetState(String previousFleetState)
The previous state of the EC2 Fleet.
previousFleetState
- The previous state of the EC2 Fleet.FleetStateCode
public String getPreviousFleetState()
The previous state of the EC2 Fleet.
FleetStateCode
public DeleteFleetSuccessItem withPreviousFleetState(String previousFleetState)
The previous state of the EC2 Fleet.
previousFleetState
- The previous state of the EC2 Fleet.FleetStateCode
public DeleteFleetSuccessItem withPreviousFleetState(FleetStateCode previousFleetState)
The previous state of the EC2 Fleet.
previousFleetState
- The previous state of the EC2 Fleet.FleetStateCode
public void setFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public String getFleetId()
The ID of the EC2 Fleet.
public DeleteFleetSuccessItem withFleetId(String fleetId)
The ID of the EC2 Fleet.
fleetId
- The ID of the EC2 Fleet.public String toString()
toString
in class Object
Object.toString()
public DeleteFleetSuccessItem clone()