Interface ProductionVariantCapacityReservationConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProductionVariantCapacityReservationConfig.Builder,ProductionVariantCapacityReservationConfig>,SdkBuilder<ProductionVariantCapacityReservationConfig.Builder,ProductionVariantCapacityReservationConfig>,SdkPojo
- Enclosing class:
- ProductionVariantCapacityReservationConfig
@Mutable @NotThreadSafe public static interface ProductionVariantCapacityReservationConfig.Builder extends SdkPojo, CopyableBuilder<ProductionVariantCapacityReservationConfig.Builder,ProductionVariantCapacityReservationConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductionVariantCapacityReservationConfig.BuildercapacityReservationPreference(String capacityReservationPreference)Options that you can choose for the capacity reservation.ProductionVariantCapacityReservationConfig.BuildercapacityReservationPreference(CapacityReservationPreference capacityReservationPreference)Options that you can choose for the capacity reservation.ProductionVariantCapacityReservationConfig.BuildermlReservationArn(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 Detail
-
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,CapacityReservationPreference
-
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:
CapacityReservationPreference,CapacityReservationPreference
-
mlReservationArn
ProductionVariantCapacityReservationConfig.Builder mlReservationArn(String 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.
-
-