Class NodeDescription.Builder

  • Enclosing class:
    NodeDescription

    public static class NodeDescription.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public NodeDescription build()
        Builds a NodeDescription.
        Returns:
        the new NodeDescription instance
      • nodeType

        public NodeDescription.Builder nodeType​(java.lang.String nodeType)
        Set the nodeType.
        Parameters:
        nodeType - the nodeType
        Returns:
        the NodeDescription builder
      • quantity

        public NodeDescription.Builder quantity​(long quantity)
        Set the quantity.
        Parameters:
        quantity - the quantity
        Returns:
        the NodeDescription builder