Class ComputeReservationShareSettingsProjectMap.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_reservation.ComputeReservationShareSettingsProjectMap.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeReservationShareSettingsProjectMap>
- Enclosing interface:
- ComputeReservationShareSettingsProjectMap
@Stability(Stable) public static final class ComputeReservationShareSettingsProjectMap.Builder extends Object implements software.amazon.jsii.Builder<ComputeReservationShareSettingsProjectMap>
A builder forComputeReservationShareSettingsProjectMap
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeReservationShareSettingsProjectMapbuild()Builds the configured instance.ComputeReservationShareSettingsProjectMap.Builderid(String id)Sets the value ofComputeReservationShareSettingsProjectMap.getId()ComputeReservationShareSettingsProjectMap.BuilderprojectId(String projectId)Sets the value ofComputeReservationShareSettingsProjectMap.getProjectId()
-
-
-
Method Detail
-
id
@Stability(Stable) public ComputeReservationShareSettingsProjectMap.Builder id(String id)
Sets the value ofComputeReservationShareSettingsProjectMap.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#id ComputeReservation#id}. This parameter is required. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
projectId
@Stability(Stable) public ComputeReservationShareSettingsProjectMap.Builder projectId(String projectId)
Sets the value ofComputeReservationShareSettingsProjectMap.getProjectId()- Parameters:
projectId- The project id/number, should be same as the key of this project config in the project map. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_reservation#project_id ComputeReservation#project_id}- Returns:
this
-
build
@Stability(Stable) public ComputeReservationShareSettingsProjectMap build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeReservationShareSettingsProjectMap>- Returns:
- a new instance of
ComputeReservationShareSettingsProjectMap - Throws:
NullPointerException- if any required attribute was not provided
-
-