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.BuilderinstanceFleetId(String instanceFleetId)A unique identifier for the instance fleet.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, 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)
-
-