Interface InstanceFleetModifyConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceFleetModifyConfig.Builder,InstanceFleetModifyConfig>,SdkBuilder<InstanceFleetModifyConfig.Builder,InstanceFleetModifyConfig>,SdkPojo
- Enclosing class:
- InstanceFleetModifyConfig
public static interface InstanceFleetModifyConfig.Builder extends SdkPojo, CopyableBuilder<InstanceFleetModifyConfig.Builder,InstanceFleetModifyConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InstanceFleetModifyConfig.Buildercontext(String context)Reserved.InstanceFleetModifyConfig.BuilderinstanceFleetId(String instanceFleetId)A unique identifier for the instance fleet.InstanceFleetModifyConfig.BuilderinstanceTypeConfigs(Collection<InstanceTypeConfig> instanceTypeConfigs)An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities.InstanceFleetModifyConfig.BuilderinstanceTypeConfigs(Consumer<InstanceTypeConfig.Builder>... instanceTypeConfigs)An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities.InstanceFleetModifyConfig.BuilderinstanceTypeConfigs(InstanceTypeConfig... instanceTypeConfigs)An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities.default InstanceFleetModifyConfig.BuilderresizeSpecifications(Consumer<InstanceFleetResizingSpecifications.Builder> resizeSpecifications)The resize specification for the instance fleet.InstanceFleetModifyConfig.BuilderresizeSpecifications(InstanceFleetResizingSpecifications resizeSpecifications)The resize specification for the instance fleet.InstanceFleetModifyConfig.BuildertargetOnDemandCapacity(Integer targetOnDemandCapacity)The target capacity of On-Demand units for the instance fleet.InstanceFleetModifyConfig.BuildertargetSpotCapacity(Integer targetSpotCapacity)The target capacity of Spot units for the instance fleet.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceFleetId
InstanceFleetModifyConfig.Builder instanceFleetId(String instanceFleetId)
A unique identifier for the instance fleet.
- Parameters:
instanceFleetId- A unique identifier for the instance fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetOnDemandCapacity
InstanceFleetModifyConfig.Builder targetOnDemandCapacity(Integer targetOnDemandCapacity)
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.
- Parameters:
targetOnDemandCapacity- The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetSpotCapacity
InstanceFleetModifyConfig.Builder targetSpotCapacity(Integer targetSpotCapacity)
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.
- Parameters:
targetSpotCapacity- The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resizeSpecifications
InstanceFleetModifyConfig.Builder resizeSpecifications(InstanceFleetResizingSpecifications resizeSpecifications)
The resize specification for the instance fleet.
- Parameters:
resizeSpecifications- The resize specification for the instance fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resizeSpecifications
default InstanceFleetModifyConfig.Builder resizeSpecifications(Consumer<InstanceFleetResizingSpecifications.Builder> resizeSpecifications)
The resize specification for the instance fleet.
This is a convenience method that creates an instance of theInstanceFleetResizingSpecifications.Builderavoiding the need to create one manually viaInstanceFleetResizingSpecifications.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresizeSpecifications(InstanceFleetResizingSpecifications).- Parameters:
resizeSpecifications- a consumer that will call methods onInstanceFleetResizingSpecifications.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resizeSpecifications(InstanceFleetResizingSpecifications)
-
instanceTypeConfigs
InstanceFleetModifyConfig.Builder instanceTypeConfigs(Collection<InstanceTypeConfig> instanceTypeConfigs)
An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.
- Parameters:
instanceTypeConfigs- An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypeConfigs
InstanceFleetModifyConfig.Builder instanceTypeConfigs(InstanceTypeConfig... instanceTypeConfigs)
An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.
- Parameters:
instanceTypeConfigs- An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypeConfigs
InstanceFleetModifyConfig.Builder instanceTypeConfigs(Consumer<InstanceTypeConfig.Builder>... instanceTypeConfigs)
An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.
This is a convenience method that creates an instance of theInstanceTypeConfig.Builderavoiding the need to create one manually viaInstanceTypeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceTypeConfigs(List.) - Parameters:
instanceTypeConfigs- a consumer that will call methods onInstanceTypeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceTypeConfigs(java.util.Collection)
-
context
InstanceFleetModifyConfig.Builder context(String context)
Reserved.
- Parameters:
context- Reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-