Class DockerNetworkPort.DockerNetworkPortBuilder

java.lang.Object
org.ivoa.dm.executionbroker.DockerNetworkPort.DockerNetworkPortBuilder
Enclosing class:
DockerNetworkPort

public static class DockerNetworkPort.DockerNetworkPortBuilder extends Object
A builder class for DockerNetworkPort, mainly for use in the functional builder pattern.
  • Field Details

    • access

      public Boolean access
      A flag to indicate whether this port should be listed in the access methods for the execution.
    • internal

      public DockerInternalPort internal
      .
    • external

      public DockerExternalPort external
      .
    • protocol

      public String protocol
      The network protocol to use, typically one of [UDP, TCP, HTTP, HTTPS], with a default of `TCP`. This should be defined as part of the description of the executable supplied by the client. The `HTTP` and `HTTPS` values further specify the protocol to use on top of `TCP`. Specifying `HTTPS` may help to meet firewall restrictions at some sites.
    • path

      public String path
      The path component of an access URL. This should be defined as part of the description of the executable supplied by the client. This can be used to provide the path of a notebook within a JupyterNotebook container.
  • Constructor Details

    • DockerNetworkPortBuilder

      public DockerNetworkPortBuilder()
  • Method Details

    • create

      public DockerNetworkPort create()
      create a DockerNetworkPort from this builder.
      Returns:
      an object initialized from the builder.