Class MapDocument.MapBuilderInternal
java.lang.Object
software.amazon.awssdk.core.document.internal.MapDocument.MapBuilderInternal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()putBoolean(String key, boolean booleanValue) putDocument(String key, Document document) putList(String key, Consumer<Document.ListBuilder> listBuilderConsumer) putMap(String key, Consumer<Document.MapBuilder> mapBuilderConsumer) putNumber(String key, BigDecimal numberValue) putNumber(String key, BigInteger numberValue)
-
Constructor Details
-
MapBuilderInternal
public MapBuilderInternal()
-
-
Method Details
-
putString
- Specified by:
putStringin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.stringValue- String value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- Number value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- Integer value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- long value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- double value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- float value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- BigDecimal value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- BigInteger value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNumber
- Specified by:
putNumberin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.numberValue- String value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putBoolean
- Specified by:
putBooleanin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.booleanValue- Boolean value which will be used to create a Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putDocument
- Specified by:
putDocumentin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.document- Document to be inserted in a DocumentMap.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putNull
- Specified by:
putNullin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putList
- Specified by:
putListin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.documentList- List of Documents.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putList
- Specified by:
putListin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.listBuilderConsumer- Consumer that acceptsDocument.ListBuilder- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putMap
- Specified by:
putMapin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.documentMap- Map of Document.- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
putMap
- Specified by:
putMapin interfaceDocument.MapBuilder- Parameters:
key- Map Key for the Document.mapBuilderConsumer- Consumer that acceptsDocument.ListBuilder- Returns:
- Builder which provides APIs to put Key Value pair to a Document Map.
-
build
- Specified by:
buildin interfaceDocument.MapBuilder- Returns:
- The new
Document.
-