Class CloudRunV2ServiceTemplateContainersStartupProbeGrpc.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTemplateContainersStartupProbeGrpc.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersStartupProbeGrpc>
- Enclosing interface:
- CloudRunV2ServiceTemplateContainersStartupProbeGrpc
@Stability(Stable) public static final class CloudRunV2ServiceTemplateContainersStartupProbeGrpc.Builder extends Object implements software.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersStartupProbeGrpc>
A builder forCloudRunV2ServiceTemplateContainersStartupProbeGrpc
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunV2ServiceTemplateContainersStartupProbeGrpcbuild()Builds the configured instance.CloudRunV2ServiceTemplateContainersStartupProbeGrpc.Builderport(Number port)Sets the value ofCloudRunV2ServiceTemplateContainersStartupProbeGrpc.getPort()CloudRunV2ServiceTemplateContainersStartupProbeGrpc.Builderservice(String service)Sets the value ofCloudRunV2ServiceTemplateContainersStartupProbeGrpc.getService()
-
-
-
Method Detail
-
port
@Stability(Stable) public CloudRunV2ServiceTemplateContainersStartupProbeGrpc.Builder port(Number port)
Sets the value ofCloudRunV2ServiceTemplateContainersStartupProbeGrpc.getPort()- Parameters:
port- Port number to access on the container. Number 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
-
service
@Stability(Stable) public CloudRunV2ServiceTemplateContainersStartupProbeGrpc.Builder service(String service)
Sets the value ofCloudRunV2ServiceTemplateContainersStartupProbeGrpc.getService()- Parameters:
service- The name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#service CloudRunV2Service#service}- Returns:
this
-
build
@Stability(Stable) public CloudRunV2ServiceTemplateContainersStartupProbeGrpc build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunV2ServiceTemplateContainersStartupProbeGrpc>- Returns:
- a new instance of
CloudRunV2ServiceTemplateContainersStartupProbeGrpc - Throws:
NullPointerException- if any required attribute was not provided
-
-