@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetSpotMaintenanceStrategies extends Object implements Serializable, Cloneable
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
Constructor and Description |
---|
FleetSpotMaintenanceStrategies() |
Modifier and Type | Method and Description |
---|---|
FleetSpotMaintenanceStrategies |
clone() |
boolean |
equals(Object obj) |
FleetSpotCapacityRebalance |
getCapacityRebalance()
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being
interrupted.
|
int |
hashCode() |
void |
setCapacityRebalance(FleetSpotCapacityRebalance capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being
interrupted.
|
String |
toString()
Returns a string representation of this object.
|
FleetSpotMaintenanceStrategies |
withCapacityRebalance(FleetSpotCapacityRebalance capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being
interrupted.
|
public void setCapacityRebalance(FleetSpotCapacityRebalance capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
capacityRebalance
- The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being
interrupted.public FleetSpotCapacityRebalance getCapacityRebalance()
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
public FleetSpotMaintenanceStrategies withCapacityRebalance(FleetSpotCapacityRebalance capacityRebalance)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.
capacityRebalance
- The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being
interrupted.public String toString()
toString
in class Object
Object.toString()
public FleetSpotMaintenanceStrategies clone()