Annotation Interface CloudContainerPort


@Retention(RUNTIME) public @interface CloudContainerPort
Cloud Container - Port A Port to be exposed from the Cloud Container.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The port number
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A name given to the port, not used except for getContainerExposedPort()
    The type of port, http, tcp, udp
  • Element Details

    • port

      int port
      The port number
    • name

      String name
      A name given to the port, not used except for getContainerExposedPort()
      Default:
      ""
    • type

      String type
      The type of port, http, tcp, udp
      Default:
      "http"