Interface ProductionVariantCapacityReservationConfig.Builder

  • 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

      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.