Class CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket>
- Enclosing interface:
- CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket
@Stability(Stable) public static final class CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket.Builder extends Object implements software.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket>
A builder forCloudRunV2ServiceTemplateContainersStartupProbeTcpSocket
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunV2ServiceTemplateContainersStartupProbeTcpSocketbuild()Builds the configured instance.CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket.Builderport(Number port)Sets the value ofCloudRunV2ServiceTemplateContainersStartupProbeTcpSocket.getPort()
-
-
-
Method Detail
-
port
@Stability(Stable) public CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket.Builder port(Number port)
Sets the value ofCloudRunV2ServiceTemplateContainersStartupProbeTcpSocket.getPort()- Parameters:
port- Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the same value as container.ports[0].containerPort. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#port CloudRunV2Service#port}- Returns:
this
-
build
@Stability(Stable) public CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket>- Returns:
- a new instance of
CloudRunV2ServiceTemplateContainersStartupProbeTcpSocket - Throws:
NullPointerException- if any required attribute was not provided
-
-