Interface ProductionVariantCapacityReservationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProductionVariantCapacityReservationConfig.Builder,
,ProductionVariantCapacityReservationConfig> SdkBuilder<ProductionVariantCapacityReservationConfig.Builder,
,ProductionVariantCapacityReservationConfig> SdkPojo
- Enclosing class:
ProductionVariantCapacityReservationConfig
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationPreference
(String capacityReservationPreference) Options that you can choose for the capacity reservation.capacityReservationPreference
(CapacityReservationPreference capacityReservationPreference) Options that you can choose for the capacity reservation.mlReservationArn
(String mlReservationArn) The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.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 Details
-
capacityReservationPreference
ProductionVariantCapacityReservationConfig.Builder capacityReservationPreference(String capacityReservationPreference) Options that you can choose for the capacity reservation. SageMaker AI supports the following options:
- capacity-reservations-only
-
SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.
- Parameters:
capacityReservationPreference
- Options that you can choose for the capacity reservation. SageMaker AI supports the following options:- capacity-reservations-only
-
SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityReservationPreference
ProductionVariantCapacityReservationConfig.Builder capacityReservationPreference(CapacityReservationPreference capacityReservationPreference) Options that you can choose for the capacity reservation. SageMaker AI supports the following options:
- capacity-reservations-only
-
SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.
- Parameters:
capacityReservationPreference
- Options that you can choose for the capacity reservation. SageMaker AI supports the following options:- capacity-reservations-only
-
SageMaker AI launches instances only into an ML capacity reservation. If no capacity is available, the instances fail to launch.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mlReservationArn
The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.
- Parameters:
mlReservationArn
- The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-