Class CloudbuildTriggerBuildStepVolumes.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloudbuild_trigger.CloudbuildTriggerBuildStepVolumes.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudbuildTriggerBuildStepVolumes>
- Enclosing interface:
- CloudbuildTriggerBuildStepVolumes
@Stability(Stable) public static final class CloudbuildTriggerBuildStepVolumes.Builder extends Object implements software.amazon.jsii.Builder<CloudbuildTriggerBuildStepVolumes>
A builder forCloudbuildTriggerBuildStepVolumes
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudbuildTriggerBuildStepVolumesbuild()Builds the configured instance.CloudbuildTriggerBuildStepVolumes.Buildername(String name)Sets the value ofCloudbuildTriggerBuildStepVolumes.getName()CloudbuildTriggerBuildStepVolumes.Builderpath(String path)Sets the value ofCloudbuildTriggerBuildStepVolumes.getPath()
-
-
-
Method Detail
-
name
@Stability(Stable) public CloudbuildTriggerBuildStepVolumes.Builder name(String name)
Sets the value ofCloudbuildTriggerBuildStepVolumes.getName()- Parameters:
name- Name of the volume to mount. This parameter is required. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name}- Returns:
this
-
path
@Stability(Stable) public CloudbuildTriggerBuildStepVolumes.Builder path(String path)
Sets the value ofCloudbuildTriggerBuildStepVolumes.getPath()- Parameters:
path- Path at which to mount the volume. This parameter is required. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#path CloudbuildTrigger#path}- Returns:
this
-
build
@Stability(Stable) public CloudbuildTriggerBuildStepVolumes build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudbuildTriggerBuildStepVolumes>- Returns:
- a new instance of
CloudbuildTriggerBuildStepVolumes - Throws:
NullPointerException- if any required attribute was not provided
-
-