Class GitpodPort.Jsii$Proxy

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

    @Stability(Experimental)
    @Internal
    public static final class GitpodPort.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements GitpodPort
    An implementation for GitpodPort
    • 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

      • getOnOpen

        public final GitpodOnOpen getOnOpen()
        Description copied from interface: GitpodPort
        (experimental) What to do when a service on a port is detected.

        Default: GitpodOnOpen.NOTIFY

        Specified by:
        getOnOpen in interface GitpodPort
      • getPort

        public final String getPort()
        Description copied from interface: GitpodPort
        (experimental) A port that should be exposed (forwarded) from the container.

        Example:

         "8080"
         
        Specified by:
        getPort in interface GitpodPort
      • getVisibility

        public final GitpodPortVisibility getVisibility()
        Description copied from interface: GitpodPort
        (experimental) Whether the port visibility should be private or public.

        Default: GitpodPortVisibility.PUBLIC

        Specified by:
        getVisibility in interface GitpodPort
      • $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