Class CloudRunV2ServiceTemplateContainersVolumeMounts.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTemplateContainersVolumeMounts.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersVolumeMounts>
- Enclosing interface:
- CloudRunV2ServiceTemplateContainersVolumeMounts
@Stability(Stable) public static final class CloudRunV2ServiceTemplateContainersVolumeMounts.Builder extends Object implements software.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersVolumeMounts>
A builder forCloudRunV2ServiceTemplateContainersVolumeMounts
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunV2ServiceTemplateContainersVolumeMountsbuild()Builds the configured instance.CloudRunV2ServiceTemplateContainersVolumeMounts.BuildermountPath(String mountPath)Sets the value ofCloudRunV2ServiceTemplateContainersVolumeMounts.getMountPath()CloudRunV2ServiceTemplateContainersVolumeMounts.Buildername(String name)Sets the value ofCloudRunV2ServiceTemplateContainersVolumeMounts.getName()
-
-
-
Method Detail
-
mountPath
@Stability(Stable) public CloudRunV2ServiceTemplateContainersVolumeMounts.Builder mountPath(String mountPath)
Sets the value ofCloudRunV2ServiceTemplateContainersVolumeMounts.getMountPath()- Parameters:
mountPath- Path within the container at which the volume should be mounted. This parameter is required. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be /cloudsql. All instances defined in the Volume will be available as /cloudsql/[instance]. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#mount_path CloudRunV2Service#mount_path}- Returns:
this
-
name
@Stability(Stable) public CloudRunV2ServiceTemplateContainersVolumeMounts.Builder name(String name)
Sets the value ofCloudRunV2ServiceTemplateContainersVolumeMounts.getName()- Parameters:
name- This must match the Name of a Volume. 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#name CloudRunV2Service#name}- Returns:
this
-
build
@Stability(Stable) public CloudRunV2ServiceTemplateContainersVolumeMounts build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersVolumeMounts>- Returns:
- a new instance of
CloudRunV2ServiceTemplateContainersVolumeMounts - Throws:
NullPointerException- if any required attribute was not provided
-
-