Class Cloudfunctions2FunctionBuildConfigSource.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudfunctions2_function.Cloudfunctions2FunctionBuildConfigSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudfunctions2FunctionBuildConfigSource>
- Enclosing interface:
- Cloudfunctions2FunctionBuildConfigSource
@Stability(Stable) public static final class Cloudfunctions2FunctionBuildConfigSource.Builder extends Object implements software.amazon.jsii.Builder<Cloudfunctions2FunctionBuildConfigSource>
A builder forCloudfunctions2FunctionBuildConfigSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cloudfunctions2FunctionBuildConfigSourcebuild()Builds the configured instance.Cloudfunctions2FunctionBuildConfigSource.BuilderrepoSource(Cloudfunctions2FunctionBuildConfigSourceRepoSource repoSource)Sets the value ofCloudfunctions2FunctionBuildConfigSource.getRepoSource()Cloudfunctions2FunctionBuildConfigSource.BuilderstorageSource(Cloudfunctions2FunctionBuildConfigSourceStorageSource storageSource)Sets the value ofCloudfunctions2FunctionBuildConfigSource.getStorageSource()
-
-
-
Method Detail
-
repoSource
@Stability(Stable) public Cloudfunctions2FunctionBuildConfigSource.Builder repoSource(Cloudfunctions2FunctionBuildConfigSourceRepoSource repoSource)
Sets the value ofCloudfunctions2FunctionBuildConfigSource.getRepoSource()- Parameters:
repoSource- repo_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#repo_source Cloudfunctions2Function#repo_source}- Returns:
this
-
storageSource
@Stability(Stable) public Cloudfunctions2FunctionBuildConfigSource.Builder storageSource(Cloudfunctions2FunctionBuildConfigSourceStorageSource storageSource)
Sets the value ofCloudfunctions2FunctionBuildConfigSource.getStorageSource()- Parameters:
storageSource- storage_source block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#storage_source Cloudfunctions2Function#storage_source}- Returns:
this
-
build
@Stability(Stable) public Cloudfunctions2FunctionBuildConfigSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudfunctions2FunctionBuildConfigSource>- Returns:
- a new instance of
Cloudfunctions2FunctionBuildConfigSource - Throws:
NullPointerException- if any required attribute was not provided
-
-