Class NodeInfoTransport.Builder

All Implemented Interfaces:
Enclosing class:

public static class NodeInfoTransport.Builder
extends ObjectBuilderBase
implements ObjectBuilder<NodeInfoTransport>
Builder for NodeInfoTransport.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • boundAddress

      public final NodeInfoTransport.Builder boundAddress​(java.util.List<java.lang.String> list)
      Required - API name: bound_address

      Adds all elements of list to boundAddress.

    • boundAddress

      public final NodeInfoTransport.Builder boundAddress​(java.lang.String value, java.lang.String... values)
      Required - API name: bound_address

      Adds one or more values to boundAddress.

    • publishAddress

      public final NodeInfoTransport.Builder publishAddress​(java.lang.String value)
      Required - API name: publish_address
    • profiles

      public final NodeInfoTransport.Builder profiles​(java.util.Map<java.lang.String,​java.lang.String> map)
      Required - API name: profiles

      Adds all entries of map to profiles.

    • profiles

      public final NodeInfoTransport.Builder profiles​(java.lang.String key, java.lang.String value)
      Required - API name: profiles

      Adds an entry to profiles.

    • build

      public NodeInfoTransport build()
      Specified by:
      build in interface ObjectBuilder<NodeInfoTransport>
      java.lang.NullPointerException - if some of the required fields are null.