Class GrpcAction.Jsii$Proxy

  • All Implemented Interfaces:
    GrpcAction, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    GrpcAction

    @Stability(Stable)
    @Internal
    public static final class GrpcAction.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements GrpcAction
    An implementation for GrpcAction
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(GrpcAction.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GrpcAction.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • 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

      • getPort

        public final Number getPort()
        Description copied from interface: GrpcAction
        Port number of the gRPC service.

        Number must be in the range 1 to 65535.

        Specified by:
        getPort in interface GrpcAction
      • getService

        public final String getService()
        Description copied from interface: GrpcAction
        Service is 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.

        Specified by:
        getService in interface GrpcAction
      • $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