Interface CapacityReservationTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationTarget.Builder,,CapacityReservationTarget> SdkBuilder<CapacityReservationTarget.Builder,,CapacityReservationTarget> SdkPojo
- Enclosing class:
CapacityReservationTarget
@Mutable
@NotThreadSafe
public static interface CapacityReservationTarget.Builder
extends SdkPojo, CopyableBuilder<CapacityReservationTarget.Builder,CapacityReservationTarget>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationIds(String... capacityReservationIds) The Capacity Reservation IDs to launch instances into.capacityReservationIds(Collection<String> capacityReservationIds) The Capacity Reservation IDs to launch instances into.capacityReservationResourceGroupArns(String... capacityReservationResourceGroupArns) The resource group ARNs of the Capacity Reservation to launch instances into.capacityReservationResourceGroupArns(Collection<String> capacityReservationResourceGroupArns) The resource group ARNs of the Capacity Reservation to launch instances into.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
-
capacityReservationIds
The Capacity Reservation IDs to launch instances into.
- Parameters:
capacityReservationIds- The Capacity Reservation IDs to launch instances into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationIds
The Capacity Reservation IDs to launch instances into.
- Parameters:
capacityReservationIds- The Capacity Reservation IDs to launch instances into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationResourceGroupArns
CapacityReservationTarget.Builder capacityReservationResourceGroupArns(Collection<String> capacityReservationResourceGroupArns) The resource group ARNs of the Capacity Reservation to launch instances into.
- Parameters:
capacityReservationResourceGroupArns- The resource group ARNs of the Capacity Reservation to launch instances into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationResourceGroupArns
CapacityReservationTarget.Builder capacityReservationResourceGroupArns(String... capacityReservationResourceGroupArns) The resource group ARNs of the Capacity Reservation to launch instances into.
- Parameters:
capacityReservationResourceGroupArns- The resource group ARNs of the Capacity Reservation to launch instances into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-