Class LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget>
- Enclosing interface:
- LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget
@Stability(Stable) public static final class LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchTemplateCapacityReservationSpecificationCapacityReservationTargetbuild()Builds the configured instance.LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.BuildercapacityReservationId(String capacityReservationId)LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.BuildercapacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
-
-
-
Method Detail
-
capacityReservationId
@Stability(Stable) public LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.Builder capacityReservationId(String capacityReservationId)
Sets the value ofLaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.getCapacityReservationId()- Parameters:
capacityReservationId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#capacity_reservation_id LaunchTemplate#capacity_reservation_id}.- Returns:
this
-
capacityReservationResourceGroupArn
@Stability(Stable) public LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.Builder capacityReservationResourceGroupArn(String capacityReservationResourceGroupArn)
Sets the value ofLaunchTemplateCapacityReservationSpecificationCapacityReservationTarget.getCapacityReservationResourceGroupArn()- Parameters:
capacityReservationResourceGroupArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#capacity_reservation_resource_group_arn LaunchTemplate#capacity_reservation_resource_group_arn}.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget>- Returns:
- a new instance of
LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget - Throws:
NullPointerException- if any required attribute was not provided
-
-