Interface AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder,,AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails> SdkBuilder<AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder,,AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails> SdkPojo
- Enclosing class:
AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
public static interface AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder,AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationId(String capacityReservationId) The ID of the Capacity Reservation in which to run the instance.capacityReservationResourceGroupArn(String capacityReservationResourceGroupArn) The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.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, sdkFields
-
Method Details
-
capacityReservationId
AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder capacityReservationId(String capacityReservationId) The ID of the Capacity Reservation in which to run the instance.
- Parameters:
capacityReservationId- The ID of the Capacity Reservation in which to run the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationResourceGroupArn
AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails.Builder capacityReservationResourceGroupArn(String capacityReservationResourceGroupArn) The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.
- Parameters:
capacityReservationResourceGroupArn- The Amazon Resource Name (ARN) of the Capacity Reservation resource group in which to run the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-