public static class ListDocument.ListBuilderInternal extends Object implements Document.ListBuilder
| Constructor and Description |
|---|
ListBuilderInternal() |
| Modifier and Type | Method and Description |
|---|---|
Document.ListBuilder |
addBoolean(boolean booleanValue) |
Document.ListBuilder |
addDocument(Document document) |
Document.ListBuilder |
addMap(Consumer<Document.MapBuilder> mapBuilderConsumer) |
Document.ListBuilder |
addNull() |
Document.ListBuilder |
addNumber(BigDecimal numberValue) |
Document.ListBuilder |
addNumber(BigInteger numberValue) |
Document.ListBuilder |
addNumber(double numberValue) |
Document.ListBuilder |
addNumber(float numberValue) |
Document.ListBuilder |
addNumber(int numberValue) |
Document.ListBuilder |
addNumber(long numberValue) |
Document.ListBuilder |
addNumber(SdkNumber numberValue) |
Document.ListBuilder |
addNumber(String numberValue) |
Document.ListBuilder |
addString(String stringValue) |
Document |
build() |
public Document.ListBuilder addString(String stringValue)
addString in interface Document.ListBuilderstringValue - String Value from which the Document to be added is created.public Document.ListBuilder addBoolean(boolean booleanValue)
addBoolean in interface Document.ListBuilderbooleanValue - Boolean value from which the Document to be added is created.public Document.ListBuilder addNumber(SdkNumber numberValue)
addNumber in interface Document.ListBuildernumberValue - SdkNumber from which the Document to be added is created.public Document.ListBuilder addNumber(int numberValue)
addNumber in interface Document.ListBuildernumberValue - integer from which the Document to be added is created.public Document.ListBuilder addNumber(long numberValue)
addNumber in interface Document.ListBuildernumberValue - long from which the Document to be added is created.public Document.ListBuilder addNumber(float numberValue)
addNumber in interface Document.ListBuildernumberValue - float from which the Document to be added is created.public Document.ListBuilder addNumber(double numberValue)
addNumber in interface Document.ListBuildernumberValue - double from which the Document to be added is created.public Document.ListBuilder addNumber(BigDecimal numberValue)
addNumber in interface Document.ListBuildernumberValue - BigDecimal from which the Document to be added is created.public Document.ListBuilder addNumber(BigInteger numberValue)
addNumber in interface Document.ListBuildernumberValue - BigInteger from which the Document to be added is created.public Document.ListBuilder addNumber(String numberValue)
addNumber in interface Document.ListBuildernumberValue - String from which the Document to be added is created.public Document.ListBuilder addDocument(Document document)
addDocument in interface Document.ListBuilderdocument - Document that will be added to a Document List.public Document.ListBuilder addMap(Consumer<Document.MapBuilder> mapBuilderConsumer)
addMap in interface Document.ListBuildermapBuilderConsumer - Consumer that accepts Document.ListBuilderpublic Document.ListBuilder addNull()
addNull in interface Document.ListBuilderpublic Document build()
build in interface Document.ListBuilderDocument.Copyright © 2022. All rights reserved.