Class PrestissimoWorkerNodeDetails.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 PrestissimoWorkerNodeDetails build()
        Builds a PrestissimoWorkerNodeDetails.
        Returns:
        the new PrestissimoWorkerNodeDetails instance
      • nodeType

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

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