Class ListDocument.ListBuilderInternal
java.lang.Object
software.amazon.awssdk.core.document.internal.ListDocument.ListBuilderInternal
- All Implemented Interfaces:
Document.ListBuilder
- Enclosing class:
- ListDocument
Internal List Builder for easy construction of Document Lists.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBoolean(boolean booleanValue) addDocument(Document document) addMap(Consumer<Document.MapBuilder> mapBuilderConsumer) addNull()addNumber(double numberValue) addNumber(float numberValue) addNumber(int numberValue) addNumber(long numberValue) addNumber(BigDecimal numberValue) addNumber(BigInteger numberValue) build()
-
Constructor Details
-
ListBuilderInternal
public ListBuilderInternal()
-
-
Method Details
-
addString
- Specified by:
addStringin interfaceDocument.ListBuilder- 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
- Specified by:
addBooleanin interfaceDocument.ListBuilder- 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
- Specified by:
addNumberin interfaceDocument.ListBuilder- Parameters:
numberValue-SdkNumberfrom which the Document to be added is created.- Returns:
- Builder which provides APIs to add Document to a Document List.
-
addNumber
- Specified by:
addNumberin interfaceDocument.ListBuilder- 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
- Specified by:
addNumberin interfaceDocument.ListBuilder- 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
- Specified by:
addNumberin interfaceDocument.ListBuilder- 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
- Specified by:
addNumberin interfaceDocument.ListBuilder- 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
- Specified by:
addNumberin interfaceDocument.ListBuilder- 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
- Specified by:
addNumberin interfaceDocument.ListBuilder- 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
- Specified by:
addNumberin interfaceDocument.ListBuilder- 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
- Specified by:
addDocumentin interfaceDocument.ListBuilder- Parameters:
document- Document that will be added to a Document List.- Returns:
- Builder which provides APIs to add Document to a Document List.
-
addMap
- Specified by:
addMapin interfaceDocument.ListBuilder- Parameters:
mapBuilderConsumer- Consumer that acceptsDocument.ListBuilder- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
addNull
- Specified by:
addNullin interfaceDocument.ListBuilder- Returns:
- Builder which provides APIs to add Document to a Document List.
-
build
- Specified by:
buildin interfaceDocument.ListBuilder- Returns:
- The new
Document.
-