public static interface DocumentAttribute.Builder extends SdkPojo, CopyableBuilder<DocumentAttribute.Builder,DocumentAttribute>
| Modifier and Type | Method and Description |
|---|---|
DocumentAttribute.Builder |
key(String key)
The identifier for the attribute.
|
default DocumentAttribute.Builder |
value(Consumer<DocumentAttributeValue.Builder> value)
The value of the attribute.
|
DocumentAttribute.Builder |
value(DocumentAttributeValue value)
The value of the attribute.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDocumentAttribute.Builder key(String key)
The identifier for the attribute.
key - The identifier for the attribute.DocumentAttribute.Builder value(DocumentAttributeValue value)
The value of the attribute.
value - The value of the attribute.default DocumentAttribute.Builder value(Consumer<DocumentAttributeValue.Builder> value)
The value of the attribute.
This is a convenience method that creates an instance of theDocumentAttributeValue.Builder avoiding
the need to create one manually via DocumentAttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to value(DocumentAttributeValue).
value - a consumer that will call methods on DocumentAttributeValue.Buildervalue(DocumentAttributeValue)Copyright © 2023. All rights reserved.