Class MapDocument.MapBuilderInternal
java.lang.Object
software.amazon.awssdk.core.document.internal.MapDocument.MapBuilderInternal
- All Implemented Interfaces:
Document.MapBuilder
- Enclosing class:
MapDocument
-
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:
putString
in 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:
putNumber
in 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:
putNumber
in 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:
putNumber
in 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:
putNumber
in 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:
putNumber
in 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:
putNumber
in 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:
putNumber
in 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:
putNumber
in 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:
putBoolean
in 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:
putDocument
in 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:
putNull
in 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:
putList
in 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:
putList
in 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:
putMap
in 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:
putMap
in 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:
build
in interfaceDocument.MapBuilder
- Returns:
- The new
Document
.
-