@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceFleetResizingSpecifications extends Object implements Serializable, Cloneable, StructuredPojo
The resize specification for On-Demand and Spot Instances in the fleet.
Constructor and Description |
---|
InstanceFleetResizingSpecifications() |
Modifier and Type | Method and Description |
---|---|
InstanceFleetResizingSpecifications |
clone() |
boolean |
equals(Object obj) |
OnDemandResizingSpecification |
getOnDemandResizeSpecification()
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
|
SpotResizingSpecification |
getSpotResizeSpecification()
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOnDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
|
void |
setSpotResizeSpecification(SpotResizingSpecification spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
|
String |
toString()
Returns a string representation of this object.
|
InstanceFleetResizingSpecifications |
withOnDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
|
InstanceFleetResizingSpecifications |
withSpotResizeSpecification(SpotResizingSpecification spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
|
public void setSpotResizeSpecification(SpotResizingSpecification spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
spotResizeSpecification
- The resize specification for Spot Instances in the instance fleet, which contains the resize timeout
period.public SpotResizingSpecification getSpotResizeSpecification()
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
public InstanceFleetResizingSpecifications withSpotResizeSpecification(SpotResizingSpecification spotResizeSpecification)
The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
spotResizeSpecification
- The resize specification for Spot Instances in the instance fleet, which contains the resize timeout
period.public void setOnDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
onDemandResizeSpecification
- The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout
period.public OnDemandResizingSpecification getOnDemandResizeSpecification()
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
public InstanceFleetResizingSpecifications withOnDemandResizeSpecification(OnDemandResizingSpecification onDemandResizeSpecification)
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
onDemandResizeSpecification
- The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout
period.public String toString()
toString
in class Object
Object.toString()
public InstanceFleetResizingSpecifications clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.