Class WorkerNodeDescriptionBody.Builder

  • Enclosing class:
    WorkerNodeDescriptionBody

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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