Class ComputeNodeGroupShareSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_node_group.ComputeNodeGroupShareSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeNodeGroupShareSettings>
- Enclosing interface:
- ComputeNodeGroupShareSettings
@Stability(Stable) public static final class ComputeNodeGroupShareSettings.Builder extends Object implements software.amazon.jsii.Builder<ComputeNodeGroupShareSettings>
A builder forComputeNodeGroupShareSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeNodeGroupShareSettingsbuild()Builds the configured instance.ComputeNodeGroupShareSettings.BuilderprojectMap(com.hashicorp.cdktf.IResolvable projectMap)Sets the value ofComputeNodeGroupShareSettings.getProjectMap()ComputeNodeGroupShareSettings.BuilderprojectMap(List<? extends ComputeNodeGroupShareSettingsProjectMap> projectMap)Sets the value ofComputeNodeGroupShareSettings.getProjectMap()ComputeNodeGroupShareSettings.BuildershareType(String shareType)Sets the value ofComputeNodeGroupShareSettings.getShareType()
-
-
-
Method Detail
-
shareType
@Stability(Stable) public ComputeNodeGroupShareSettings.Builder shareType(String shareType)
Sets the value ofComputeNodeGroupShareSettings.getShareType()- Parameters:
shareType- Node group sharing type. Possible values: ["ORGANIZATION", "SPECIFIC_PROJECTS", "LOCAL"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#share_type ComputeNodeGroup#share_type}- Returns:
this
-
projectMap
@Stability(Stable) public ComputeNodeGroupShareSettings.Builder projectMap(com.hashicorp.cdktf.IResolvable projectMap)
Sets the value ofComputeNodeGroupShareSettings.getProjectMap()- Parameters:
projectMap- project_map block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#project_map ComputeNodeGroup#project_map}- Returns:
this
-
projectMap
@Stability(Stable) public ComputeNodeGroupShareSettings.Builder projectMap(List<? extends ComputeNodeGroupShareSettingsProjectMap> projectMap)
Sets the value ofComputeNodeGroupShareSettings.getProjectMap()- Parameters:
projectMap- project_map block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#project_map ComputeNodeGroup#project_map}- Returns:
this
-
build
@Stability(Stable) public ComputeNodeGroupShareSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeNodeGroupShareSettings>- Returns:
- a new instance of
ComputeNodeGroupShareSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-