Class NodeDescriptionBody.Builder

  • Enclosing class:
    NodeDescriptionBody

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

      • Builder

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

      • build

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

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

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