Class Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudfunctions2_function.Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Cloudfunctions2FunctionBuildConfigSourceStorageSource>
- Enclosing interface:
- Cloudfunctions2FunctionBuildConfigSourceStorageSource
@Stability(Stable) public static final class Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builder extends Object implements software.amazon.jsii.Builder<Cloudfunctions2FunctionBuildConfigSourceStorageSource>
A builder forCloudfunctions2FunctionBuildConfigSourceStorageSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builderbucket(String bucket)Sets the value ofCloudfunctions2FunctionBuildConfigSourceStorageSource.getBucket()Cloudfunctions2FunctionBuildConfigSourceStorageSourcebuild()Builds the configured instance.Cloudfunctions2FunctionBuildConfigSourceStorageSource.Buildergeneration(Number generation)Sets the value ofCloudfunctions2FunctionBuildConfigSourceStorageSource.getGeneration()Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builderobject(String object)Sets the value ofCloudfunctions2FunctionBuildConfigSourceStorageSource.getObject()
-
-
-
Method Detail
-
bucket
@Stability(Stable) public Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builder bucket(String bucket)
Sets the value ofCloudfunctions2FunctionBuildConfigSourceStorageSource.getBucket()- Parameters:
bucket- Google Cloud Storage bucket containing the source. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#bucket Cloudfunctions2Function#bucket}- Returns:
this
-
generation
@Stability(Stable) public Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builder generation(Number generation)
Sets the value ofCloudfunctions2FunctionBuildConfigSourceStorageSource.getGeneration()- Parameters:
generation- Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#generation Cloudfunctions2Function#generation}- Returns:
this
-
object
@Stability(Stable) public Cloudfunctions2FunctionBuildConfigSourceStorageSource.Builder object(String object)
Sets the value ofCloudfunctions2FunctionBuildConfigSourceStorageSource.getObject()- Parameters:
object- Google Cloud Storage object containing the source. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudfunctions2_function#object Cloudfunctions2Function#object}- Returns:
this
-
build
@Stability(Stable) public Cloudfunctions2FunctionBuildConfigSourceStorageSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Cloudfunctions2FunctionBuildConfigSourceStorageSource>- Returns:
- a new instance of
Cloudfunctions2FunctionBuildConfigSourceStorageSource - Throws:
NullPointerException- if any required attribute was not provided
-
-