Class ProductionVariantCapacityReservationConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ProductionVariantCapacityReservationConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProductionVariantCapacityReservationConfig.Builder,ProductionVariantCapacityReservationConfig>
@Generated("software.amazon.awssdk:codegen") public final class ProductionVariantCapacityReservationConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProductionVariantCapacityReservationConfig.Builder,ProductionVariantCapacityReservationConfig>
Settings for the capacity reservation for the compute instances that SageMaker AI reserves for an endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProductionVariantCapacityReservationConfig.Builder
-
Method Summary
-
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
-
capacityReservationPreference
public final 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.
If the service returns an enum value that is not available in the current SDK version,
capacityReservationPreferencewill returnCapacityReservationPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcapacityReservationPreferenceAsString().- Returns:
- 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.
- See Also:
CapacityReservationPreference
-
capacityReservationPreferenceAsString
public final String capacityReservationPreferenceAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
capacityReservationPreferencewill returnCapacityReservationPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcapacityReservationPreferenceAsString().- Returns:
- 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.
- See Also:
CapacityReservationPreference
-
mlReservationArn
public final String mlReservationArn()
The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.
- Returns:
- The Amazon Resource Name (ARN) that uniquely identifies the ML capacity reservation that SageMaker AI applies when it deploys the endpoint.
-
toBuilder
public ProductionVariantCapacityReservationConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProductionVariantCapacityReservationConfig.Builder,ProductionVariantCapacityReservationConfig>
-
builder
public static ProductionVariantCapacityReservationConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProductionVariantCapacityReservationConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-