Class CloudfunctionsFunctionSecretVolumesVersions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudfunctions_function.CloudfunctionsFunctionSecretVolumesVersions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudfunctionsFunctionSecretVolumesVersions>
- Enclosing interface:
- CloudfunctionsFunctionSecretVolumesVersions
@Stability(Stable) public static final class CloudfunctionsFunctionSecretVolumesVersions.Builder extends Object implements software.amazon.jsii.Builder<CloudfunctionsFunctionSecretVolumesVersions>
A builder forCloudfunctionsFunctionSecretVolumesVersions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudfunctionsFunctionSecretVolumesVersionsbuild()Builds the configured instance.CloudfunctionsFunctionSecretVolumesVersions.Builderpath(String path)Sets the value ofCloudfunctionsFunctionSecretVolumesVersions.getPath()CloudfunctionsFunctionSecretVolumesVersions.Builderversion(String version)Sets the value ofCloudfunctionsFunctionSecretVolumesVersions.getVersion()
-
-
-
Method Detail
-
path
@Stability(Stable) public CloudfunctionsFunctionSecretVolumesVersions.Builder path(String path)
Sets the value ofCloudfunctionsFunctionSecretVolumesVersions.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 mount_path 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/cloudfunctions_function#path CloudfunctionsFunction#path}- Returns:
this
-
version
@Stability(Stable) public CloudfunctionsFunctionSecretVolumesVersions.Builder version(String version)
Sets the value ofCloudfunctionsFunctionSecretVolumesVersions.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/cloudfunctions_function#version CloudfunctionsFunction#version}- Returns:
this
-
build
@Stability(Stable) public CloudfunctionsFunctionSecretVolumesVersions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudfunctionsFunctionSecretVolumesVersions>- Returns:
- a new instance of
CloudfunctionsFunctionSecretVolumesVersions - Throws:
NullPointerException- if any required attribute was not provided
-
-