Class ComputeNodeGroupShareSettingsProjectMap.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_node_group.ComputeNodeGroupShareSettingsProjectMap.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeNodeGroupShareSettingsProjectMap>
- Enclosing interface:
- ComputeNodeGroupShareSettingsProjectMap
@Stability(Stable) public static final class ComputeNodeGroupShareSettingsProjectMap.Builder extends Object implements software.amazon.jsii.Builder<ComputeNodeGroupShareSettingsProjectMap>
A builder forComputeNodeGroupShareSettingsProjectMap
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeNodeGroupShareSettingsProjectMapbuild()Builds the configured instance.ComputeNodeGroupShareSettingsProjectMap.Builderid(String id)Sets the value ofComputeNodeGroupShareSettingsProjectMap.getId()ComputeNodeGroupShareSettingsProjectMap.BuilderprojectId(String projectId)Sets the value ofComputeNodeGroupShareSettingsProjectMap.getProjectId()
-
-
-
Method Detail
-
id
@Stability(Stable) public ComputeNodeGroupShareSettingsProjectMap.Builder id(String id)
Sets the value ofComputeNodeGroupShareSettingsProjectMap.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#id ComputeNodeGroup#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 ComputeNodeGroupShareSettingsProjectMap.Builder projectId(String projectId)
Sets the value ofComputeNodeGroupShareSettingsProjectMap.getProjectId()- Parameters:
projectId- The project id/number should be the same as the key of this project config in the project map. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#project_id ComputeNodeGroup#project_id}- Returns:
this
-
build
@Stability(Stable) public ComputeNodeGroupShareSettingsProjectMap build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeNodeGroupShareSettingsProjectMap>- Returns:
- a new instance of
ComputeNodeGroupShareSettingsProjectMap - Throws:
NullPointerException- if any required attribute was not provided
-
-