Class InstanceFleetProvisioningSpecifications
- java.lang.Object
-
- software.amazon.awssdk.services.emr.model.InstanceFleetProvisioningSpecifications
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<InstanceFleetProvisioningSpecifications.Builder,InstanceFleetProvisioningSpecifications>
@Generated("software.amazon.awssdk:codegen") public final class InstanceFleetProvisioningSpecifications extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceFleetProvisioningSpecifications.Builder,InstanceFleetProvisioningSpecifications>
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 higher, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR releases 5.12.1 and higher.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceFleetProvisioningSpecifications.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceFleetProvisioningSpecifications.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
OnDemandProvisioningSpecification
onDemandSpecification()
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.List<SdkField<?>>
sdkFields()
static Class<? extends InstanceFleetProvisioningSpecifications.Builder>
serializableBuilderClass()
SpotProvisioningSpecification
spotSpecification()
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.InstanceFleetProvisioningSpecifications.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
spotSpecification
public final SpotProvisioningSpecification spotSpecification()
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
- Returns:
- The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
-
onDemandSpecification
public final 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 higher, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and higher.
- Returns:
- 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 higher, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and higher.
-
toBuilder
public InstanceFleetProvisioningSpecifications.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<InstanceFleetProvisioningSpecifications.Builder,InstanceFleetProvisioningSpecifications>
-
builder
public static InstanceFleetProvisioningSpecifications.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceFleetProvisioningSpecifications.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-