Class CloudRunV2ServiceTemplateVolumesGcs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTemplateVolumesGcs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunV2ServiceTemplateVolumesGcs>
- Enclosing interface:
- CloudRunV2ServiceTemplateVolumesGcs
@Stability(Stable) public static final class CloudRunV2ServiceTemplateVolumesGcs.Builder extends Object implements software.amazon.jsii.Builder<CloudRunV2ServiceTemplateVolumesGcs>
A builder forCloudRunV2ServiceTemplateVolumesGcs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunV2ServiceTemplateVolumesGcs.Builderbucket(String bucket)Sets the value ofCloudRunV2ServiceTemplateVolumesGcs.getBucket()CloudRunV2ServiceTemplateVolumesGcsbuild()Builds the configured instance.CloudRunV2ServiceTemplateVolumesGcs.BuilderreadOnly(com.hashicorp.cdktf.IResolvable readOnly)Sets the value ofCloudRunV2ServiceTemplateVolumesGcs.getReadOnly()CloudRunV2ServiceTemplateVolumesGcs.BuilderreadOnly(Boolean readOnly)Sets the value ofCloudRunV2ServiceTemplateVolumesGcs.getReadOnly()
-
-
-
Method Detail
-
bucket
@Stability(Stable) public CloudRunV2ServiceTemplateVolumesGcs.Builder bucket(String bucket)
Sets the value ofCloudRunV2ServiceTemplateVolumesGcs.getBucket()- Parameters:
bucket- GCS Bucket name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#bucket CloudRunV2Service#bucket}- Returns:
this
-
readOnly
@Stability(Stable) public CloudRunV2ServiceTemplateVolumesGcs.Builder readOnly(Boolean readOnly)
Sets the value ofCloudRunV2ServiceTemplateVolumesGcs.getReadOnly()- Parameters:
readOnly- If true, mount the GCS bucket as read-only. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#read_only CloudRunV2Service#read_only}- Returns:
this
-
readOnly
@Stability(Stable) public CloudRunV2ServiceTemplateVolumesGcs.Builder readOnly(com.hashicorp.cdktf.IResolvable readOnly)
Sets the value ofCloudRunV2ServiceTemplateVolumesGcs.getReadOnly()- Parameters:
readOnly- If true, mount the GCS bucket as read-only. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#read_only CloudRunV2Service#read_only}- Returns:
this
-
build
@Stability(Stable) public CloudRunV2ServiceTemplateVolumesGcs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunV2ServiceTemplateVolumesGcs>- Returns:
- a new instance of
CloudRunV2ServiceTemplateVolumesGcs - Throws:
NullPointerException- if any required attribute was not provided
-
-