Interface Document.ListBuilder

    • Method Detail

      • addString

        Document.ListBuilder addString​(String stringValue)
        Adds a Document which is constructed from the given stringValue..
        Parameters:
        stringValue - String Value from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addBoolean

        Document.ListBuilder addBoolean​(boolean booleanValue)
        Adds a Document which is constructed from the given boolean.
        Parameters:
        booleanValue - Boolean value from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(SdkNumber numberValue)
        Adds a Document which is constructed from the given SdkNumber.
        Parameters:
        numberValue - SdkNumber from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(int numberValue)
        Adds a Document which is constructed from the given integer.
        Parameters:
        numberValue - integer from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(long numberValue)
        Adds a Document which is constructed from the given long.
        Parameters:
        numberValue - long from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(float numberValue)
        Adds a Document which is constructed from the given float.
        Parameters:
        numberValue - float from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(double numberValue)
        Adds a Document which is constructed from the given double.
        Parameters:
        numberValue - double from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(BigDecimal numberValue)
        Adds a Document which is constructed from the given BigDecimal.
        Parameters:
        numberValue - BigDecimal from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(BigInteger numberValue)
        Adds a Document which is constructed from the given BigInteger.
        Parameters:
        numberValue - BigInteger from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNumber

        Document.ListBuilder addNumber​(String numberValue)
        Adds a Document which is constructed from the given String.
        Parameters:
        numberValue - String from which the Document to be added is created.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addDocument

        Document.ListBuilder addDocument​(Document document)
        Adds a Document to the constructed Document List.
        Parameters:
        document - Document that will be added to a Document List.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • addNull

        Document.ListBuilder addNull()
        Inserts a Null Document to the constructed Document List.
        Returns:
        Builder which provides APIs to add Document to a Document List.
      • build

        Document build()
        Creates a new Document with the List members as added with add method.
        Returns:
        The new Document.