@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceFleetProvisioningSpecifications extends Object implements Serializable, Cloneable, StructuredPojo
The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR releases 5.12.1 and later.
Constructor and Description |
---|
InstanceFleetProvisioningSpecifications() |
Modifier and Type | Method and Description |
---|---|
InstanceFleetProvisioningSpecifications |
clone() |
boolean |
equals(Object obj) |
OnDemandProvisioningSpecification |
getOnDemandSpecification()
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
|
SpotProvisioningSpecification |
getSpotSpecification()
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning
timeout behavior, and allocation strategy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOnDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
|
void |
setSpotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning
timeout behavior, and allocation strategy.
|
String |
toString()
Returns a string representation of this object.
|
InstanceFleetProvisioningSpecifications |
withOnDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
|
InstanceFleetProvisioningSpecifications |
withSpotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning
timeout behavior, and allocation strategy.
|
public InstanceFleetProvisioningSpecifications()
public void setSpotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
spotSpecification
- The launch specification for Spot instances in the fleet, which determines the defined duration,
provisioning timeout behavior, and allocation strategy.public SpotProvisioningSpecification getSpotSpecification()
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
public InstanceFleetProvisioningSpecifications withSpotSpecification(SpotProvisioningSpecification spotSpecification)
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
spotSpecification
- The launch specification for Spot instances in the fleet, which determines the defined duration,
provisioning timeout behavior, and allocation strategy.public void setOnDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
onDemandSpecification
- The launch specification for On-Demand Instances in the instance fleet, which determines the allocation
strategy. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
public OnDemandProvisioningSpecification getOnDemandSpecification()
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
public InstanceFleetProvisioningSpecifications withOnDemandSpecification(OnDemandProvisioningSpecification onDemandSpecification)
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
onDemandSpecification
- The launch specification for On-Demand Instances in the instance fleet, which determines the allocation
strategy. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
public String toString()
toString
in class Object
Object.toString()
public InstanceFleetProvisioningSpecifications clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.