Class ComputeHealthCheckGrpcHealthCheck.Jsii$Proxy

    • 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.
    • Method Detail

      • getGrpcServiceName

        public final String getGrpcServiceName()
        Description copied from interface: ComputeHealthCheckGrpcHealthCheck
        The gRPC service name for the health check.

        The value of grpcServiceName has the following meanings by convention: * Empty serviceName means the overall status of all services at the backend. * Non-empty serviceName means the health of that gRPC service, as defined by the owner of the service. The grpcServiceName can only be ASCII. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#grpc_service_name ComputeHealthCheck#grpc_service_name}

        Specified by:
        getGrpcServiceName in interface ComputeHealthCheckGrpcHealthCheck
      • getPort

        public final Number getPort()
        Description copied from interface: ComputeHealthCheckGrpcHealthCheck
        The port number for the health check request.

        Must be specified if portName and portSpecification are not set or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port ComputeHealthCheck#port}

        Specified by:
        getPort in interface ComputeHealthCheckGrpcHealthCheck
      • getPortName

        public final String getPortName()
        Description copied from interface: ComputeHealthCheckGrpcHealthCheck
        Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port_name ComputeHealthCheck#port_name}

        Specified by:
        getPortName in interface ComputeHealthCheckGrpcHealthCheck
      • getPortSpecification

        public final String getPortSpecification()
        Description copied from interface: ComputeHealthCheckGrpcHealthCheck
        Specifies how port is selected for health checking, can be one of the following values:.

        * 'USE_FIXED_PORT': The port number in 'port' is used for health checking. * 'USE_NAMED_PORT': The 'portName' is used for health checking. * 'USE_SERVING_PORT': For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, gRPC health check follows behavior specified in 'port' and 'portName' fields. Possible values: ["USE_FIXED_PORT", "USE_NAMED_PORT", "USE_SERVING_PORT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_health_check#port_specification ComputeHealthCheck#port_specification}

        Specified by:
        getPortSpecification in interface ComputeHealthCheckGrpcHealthCheck
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object