Class CloudbuildTriggerBuildSourceStorageSource.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudbuild_trigger.CloudbuildTriggerBuildSourceStorageSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudbuildTriggerBuildSourceStorageSource>
- Enclosing interface:
- CloudbuildTriggerBuildSourceStorageSource
@Stability(Stable) public static final class CloudbuildTriggerBuildSourceStorageSource.Builder extends Object implements software.amazon.jsii.Builder<CloudbuildTriggerBuildSourceStorageSource>
A builder forCloudbuildTriggerBuildSourceStorageSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudbuildTriggerBuildSourceStorageSource.Builderbucket(String bucket)Sets the value ofCloudbuildTriggerBuildSourceStorageSource.getBucket()CloudbuildTriggerBuildSourceStorageSourcebuild()Builds the configured instance.CloudbuildTriggerBuildSourceStorageSource.Buildergeneration(String generation)Sets the value ofCloudbuildTriggerBuildSourceStorageSource.getGeneration()CloudbuildTriggerBuildSourceStorageSource.Builderobject(String object)Sets the value ofCloudbuildTriggerBuildSourceStorageSource.getObject()
-
-
-
Method Detail
-
bucket
@Stability(Stable) public CloudbuildTriggerBuildSourceStorageSource.Builder bucket(String bucket)
Sets the value ofCloudbuildTriggerBuildSourceStorageSource.getBucket()- Parameters:
bucket- Google Cloud Storage bucket containing the source. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#bucket CloudbuildTrigger#bucket}- Returns:
this
-
object
@Stability(Stable) public CloudbuildTriggerBuildSourceStorageSource.Builder object(String object)
Sets the value ofCloudbuildTriggerBuildSourceStorageSource.getObject()- Parameters:
object- Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#object CloudbuildTrigger#object}- Returns:
this
-
generation
@Stability(Stable) public CloudbuildTriggerBuildSourceStorageSource.Builder generation(String generation)
Sets the value ofCloudbuildTriggerBuildSourceStorageSource.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/cloudbuild_trigger#generation CloudbuildTrigger#generation}- Returns:
this
-
build
@Stability(Stable) public CloudbuildTriggerBuildSourceStorageSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudbuildTriggerBuildSourceStorageSource>- Returns:
- a new instance of
CloudbuildTriggerBuildSourceStorageSource - Throws:
NullPointerException- if any required attribute was not provided
-
-