Interface AICapacityReservationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AICapacityReservationConfig.Builder,,AICapacityReservationConfig> SdkBuilder<AICapacityReservationConfig.Builder,,AICapacityReservationConfig> SdkPojo
- Enclosing class:
AICapacityReservationConfig
@Mutable
@NotThreadSafe
public static interface AICapacityReservationConfig.Builder
extends SdkPojo, CopyableBuilder<AICapacityReservationConfig.Builder,AICapacityReservationConfig>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationPreference(String capacityReservationPreference) The capacity reservation preference.capacityReservationPreference(AICapacityReservationPreference capacityReservationPreference) The capacity reservation preference.mlReservationArns(String... mlReservationArns) The list of ML reservation ARNs to use.mlReservationArns(Collection<String> mlReservationArns) The list of ML reservation ARNs to use.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
capacityReservationPreference
AICapacityReservationConfig.Builder capacityReservationPreference(String capacityReservationPreference) The capacity reservation preference. The only valid value is
capacity-reservations-only.- Parameters:
capacityReservationPreference- The capacity reservation preference. The only valid value iscapacity-reservations-only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityReservationPreference
AICapacityReservationConfig.Builder capacityReservationPreference(AICapacityReservationPreference capacityReservationPreference) The capacity reservation preference. The only valid value is
capacity-reservations-only.- Parameters:
capacityReservationPreference- The capacity reservation preference. The only valid value iscapacity-reservations-only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mlReservationArns
The list of ML reservation ARNs to use.
- Parameters:
mlReservationArns- The list of ML reservation ARNs to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mlReservationArns
The list of ML reservation ARNs to use.
- Parameters:
mlReservationArns- The list of ML reservation ARNs to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-