@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpotMaintenanceStrategies extends Object implements Serializable, Cloneable
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
Constructor and Description |
---|
SpotMaintenanceStrategies() |
Modifier and Type | Method and Description |
---|---|
SpotMaintenanceStrategies |
clone() |
boolean |
equals(Object obj) |
SpotCapacityRebalance |
getCapacityRebalance()
The Spot Instance replacement 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(SpotCapacityRebalance capacityRebalance)
The Spot Instance replacement 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.
|
SpotMaintenanceStrategies |
withCapacityRebalance(SpotCapacityRebalance capacityRebalance)
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an
elevated risk of being interrupted.
|
public void setCapacityRebalance(SpotCapacityRebalance capacityRebalance)
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide.
capacityRebalance
- The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at
an elevated risk of being interrupted. For more information, see Capacity
rebalancing in the Amazon EC2 User Guide.public SpotCapacityRebalance getCapacityRebalance()
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide.
public SpotMaintenanceStrategies withCapacityRebalance(SpotCapacityRebalance capacityRebalance)
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. For more information, see Capacity rebalancing in the Amazon EC2 User Guide.
capacityRebalance
- The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at
an elevated risk of being interrupted. For more information, see Capacity
rebalancing in the Amazon EC2 User Guide.public String toString()
toString
in class Object
Object.toString()
public SpotMaintenanceStrategies clone()