Class ServerMapping.Builder

  • Enclosing class:
    ServerMapping

    public static class ServerMapping.Builder
    extends java.lang.Object
    Builder.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Instantiates a new builder.
      Builder​(java.lang.String serverName, java.lang.String connectionId)
      Instantiates a new builder with required properties.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String serverName,
                       java.lang.String connectionId)
        Instantiates a new builder with required properties.
        Parameters:
        serverName - the serverName
        connectionId - the connectionId
    • Method Detail

      • build

        public ServerMapping build()
        Builds a ServerMapping.
        Returns:
        the new ServerMapping instance
      • serverName

        public ServerMapping.Builder serverName​(java.lang.String serverName)
        Set the serverName.
        Parameters:
        serverName - the serverName
        Returns:
        the ServerMapping builder
      • connectionId

        public ServerMapping.Builder connectionId​(java.lang.String connectionId)
        Set the connectionId.
        Parameters:
        connectionId - the connectionId
        Returns:
        the ServerMapping builder