Class Cloudfunctions2FunctionServiceConfigSecretVolumesVersions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudfunctions2_function.Cloudfunctions2FunctionServiceConfigSecretVolumesVersions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudfunctions2FunctionServiceConfigSecretVolumesVersions>
- Enclosing interface:
- Cloudfunctions2FunctionServiceConfigSecretVolumesVersions
@Stability(Stable) public static final class Cloudfunctions2FunctionServiceConfigSecretVolumesVersions.Builder extends Object implements software.amazon.jsii.Builder<Cloudfunctions2FunctionServiceConfigSecretVolumesVersions>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cloudfunctions2FunctionServiceConfigSecretVolumesVersionsbuild()Builds the configured instance.Cloudfunctions2FunctionServiceConfigSecretVolumesVersions.Builderpath(String path)Sets the value ofCloudfunctions2FunctionServiceConfigSecretVolumesVersions.getPath()Cloudfunctions2FunctionServiceConfigSecretVolumesVersions.Builderversion(String version)Sets the value ofCloudfunctions2FunctionServiceConfigSecretVolumesVersions.getVersion()
-
-
-
Method Detail
-
path
@Stability(Stable) public Cloudfunctions2FunctionServiceConfigSecretVolumesVersions.Builder path(String path)
Sets the value ofCloudfunctions2FunctionServiceConfigSecretVolumesVersions.getPath()- Parameters:
path- Relative path of the file under the mount path where the secret value for this version will be fetched and made available. This parameter is required. For example, setting the mountPath as '/etc/secrets' and path as secret_foo would mount the secret value file at /etc/secrets/secret_foo. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#path Cloudfunctions2Function#path}- Returns:
this
-
version
@Stability(Stable) public Cloudfunctions2FunctionServiceConfigSecretVolumesVersions.Builder version(String version)
Sets the value ofCloudfunctions2FunctionServiceConfigSecretVolumesVersions.getVersion()- Parameters:
version- Version of the secret (version number or the string 'latest'). This parameter is required. It is preferable to use latest version with secret volumes as secret value changes are reflected immediately. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#version Cloudfunctions2Function#version}- Returns:
this
-
build
@Stability(Stable) public Cloudfunctions2FunctionServiceConfigSecretVolumesVersions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudfunctions2FunctionServiceConfigSecretVolumesVersions>- Returns:
- a new instance of
Cloudfunctions2FunctionServiceConfigSecretVolumesVersions - Throws:
NullPointerException- if any required attribute was not provided
-
-