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.ListBuilder
stringValue
- String Value from which the Document to be added is created.public Document.ListBuilder addBoolean(boolean booleanValue)
addBoolean
in interface Document.ListBuilder
booleanValue
- Boolean value from which the Document to be added is created.public Document.ListBuilder addNumber(SdkNumber numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- SdkNumber
from which the Document to be added is created.public Document.ListBuilder addNumber(int numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- integer from which the Document to be added is created.public Document.ListBuilder addNumber(long numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- long from which the Document to be added is created.public Document.ListBuilder addNumber(float numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- float from which the Document to be added is created.public Document.ListBuilder addNumber(double numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- double from which the Document to be added is created.public Document.ListBuilder addNumber(BigDecimal numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- BigDecimal from which the Document to be added is created.public Document.ListBuilder addNumber(BigInteger numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- BigInteger from which the Document to be added is created.public Document.ListBuilder addNumber(String numberValue)
addNumber
in interface Document.ListBuilder
numberValue
- String from which the Document to be added is created.public Document.ListBuilder addDocument(Document document)
addDocument
in interface Document.ListBuilder
document
- Document that will be added to a Document List.public Document.ListBuilder addMap(Consumer<Document.MapBuilder> mapBuilderConsumer)
addMap
in interface Document.ListBuilder
mapBuilderConsumer
- Consumer that accepts Document.ListBuilder
public Document.ListBuilder addNull()
addNull
in interface Document.ListBuilder
public Document build()
build
in interface Document.ListBuilder
Document
.Copyright © 2022. All rights reserved.