Class CloudRunServiceTemplateSpecContainersPorts.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloud_run_service.CloudRunServiceTemplateSpecContainersPorts.Jsii$Proxy
-
- All Implemented Interfaces:
CloudRunServiceTemplateSpecContainersPorts,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudRunServiceTemplateSpecContainersPorts
@Stability(Stable) @Internal public static final class CloudRunServiceTemplateSpecContainersPorts.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudRunServiceTemplateSpecContainersPorts
An implementation forCloudRunServiceTemplateSpecContainersPorts
-
-
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_service.CloudRunServiceTemplateSpecContainersPorts
CloudRunServiceTemplateSpecContainersPorts.Builder, CloudRunServiceTemplateSpecContainersPorts.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudRunServiceTemplateSpecContainersPorts.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudRunServiceTemplateSpecContainersPorts.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.StringgetProtocol()Protocol for port.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(CloudRunServiceTemplateSpecContainersPorts.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudRunServiceTemplateSpecContainersPorts.Builder.
-
-
Method Detail
-
getContainerPort
public final Number getContainerPort()
Description copied from interface:CloudRunServiceTemplateSpecContainersPortsPort number the container listens on.This must be a valid port number (between 1 and 65535). Defaults to "8080". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#container_port CloudRunService#container_port}
- Specified by:
getContainerPortin interfaceCloudRunServiceTemplateSpecContainersPorts
-
getName
public final String getName()
Description copied from interface:CloudRunServiceTemplateSpecContainersPortsIf specified, used to specify which protocol to use.Allowed values are "http1" (HTTP/1) and "h2c" (HTTP/2 end-to-end). Defaults to "http1". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#name CloudRunService#name}
- Specified by:
getNamein interfaceCloudRunServiceTemplateSpecContainersPorts
-
getProtocol
public final String getProtocol()
Description copied from interface:CloudRunServiceTemplateSpecContainersPortsProtocol for port. Must be "TCP". Defaults to "TCP".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_service#protocol CloudRunService#protocol}
- Specified by:
getProtocolin interfaceCloudRunServiceTemplateSpecContainersPorts
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-