Class CloudRunV2ServiceTemplateContainersPorts.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTemplateContainersPorts.Jsii$Proxy
-
- All Implemented Interfaces:
CloudRunV2ServiceTemplateContainersPorts,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudRunV2ServiceTemplateContainersPorts
@Stability(Stable) @Internal public static final class CloudRunV2ServiceTemplateContainersPorts.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudRunV2ServiceTemplateContainersPorts
An implementation forCloudRunV2ServiceTemplateContainersPorts
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.cloud_run_v2_service.CloudRunV2ServiceTemplateContainersPorts
CloudRunV2ServiceTemplateContainersPorts.Builder, CloudRunV2ServiceTemplateContainersPorts.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudRunV2ServiceTemplateContainersPorts.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudRunV2ServiceTemplateContainersPorts.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetContainerPort()Port number the container listens on.StringgetName()If specified, used to specify which protocol to use.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CloudRunV2ServiceTemplateContainersPorts.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudRunV2ServiceTemplateContainersPorts.Builder.
-
-
Method Detail
-
getContainerPort
public final Number getContainerPort()
Description copied from interface:CloudRunV2ServiceTemplateContainersPortsPort number the container listens on. This must be a valid TCP port number, 0 < containerPort < 65536.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#container_port CloudRunV2Service#container_port}
- Specified by:
getContainerPortin interfaceCloudRunV2ServiceTemplateContainersPorts
-
getName
public final String getName()
Description copied from interface:CloudRunV2ServiceTemplateContainersPortsIf specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_v2_service#name CloudRunV2Service#name}
- Specified by:
getNamein interfaceCloudRunV2ServiceTemplateContainersPorts
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-