Class GkeonpremBareMetalClusterStorageLvpNodeMountsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gkeonprem_bare_metal_cluster.GkeonpremBareMetalClusterStorageLvpNodeMountsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeonpremBareMetalClusterStorageLvpNodeMountsConfig>
- Enclosing interface:
- GkeonpremBareMetalClusterStorageLvpNodeMountsConfig
@Stability(Stable) public static final class GkeonpremBareMetalClusterStorageLvpNodeMountsConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeonpremBareMetalClusterStorageLvpNodeMountsConfig>
A builder forGkeonpremBareMetalClusterStorageLvpNodeMountsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeonpremBareMetalClusterStorageLvpNodeMountsConfigbuild()Builds the configured instance.GkeonpremBareMetalClusterStorageLvpNodeMountsConfig.Builderpath(String path)Sets the value ofGkeonpremBareMetalClusterStorageLvpNodeMountsConfig.getPath()GkeonpremBareMetalClusterStorageLvpNodeMountsConfig.BuilderstorageClass(String storageClass)Sets the value ofGkeonpremBareMetalClusterStorageLvpNodeMountsConfig.getStorageClass()
-
-
-
Method Detail
-
path
@Stability(Stable) public GkeonpremBareMetalClusterStorageLvpNodeMountsConfig.Builder path(String path)
Sets the value ofGkeonpremBareMetalClusterStorageLvpNodeMountsConfig.getPath()- Parameters:
path- The host machine path. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_cluster#path GkeonpremBareMetalCluster#path}- Returns:
this
-
storageClass
@Stability(Stable) public GkeonpremBareMetalClusterStorageLvpNodeMountsConfig.Builder storageClass(String storageClass)
Sets the value ofGkeonpremBareMetalClusterStorageLvpNodeMountsConfig.getStorageClass()- Parameters:
storageClass- The StorageClass name that PVs will be created with. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_cluster#storage_class GkeonpremBareMetalCluster#storage_class}- Returns:
this
-
build
@Stability(Stable) public GkeonpremBareMetalClusterStorageLvpNodeMountsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeonpremBareMetalClusterStorageLvpNodeMountsConfig>- Returns:
- a new instance of
GkeonpremBareMetalClusterStorageLvpNodeMountsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-