Interface DocumentAttribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentAttribute.Builder,
,DocumentAttribute> SdkBuilder<DocumentAttribute.Builder,
,DocumentAttribute> SdkPojo
- Enclosing class:
DocumentAttribute
public static interface DocumentAttribute.Builder
extends SdkPojo, CopyableBuilder<DocumentAttribute.Builder,DocumentAttribute>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for the attribute.default DocumentAttribute.Builder
The value of the attribute.value
(DocumentAttributeValue value) The value of the attribute.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The identifier for the attribute.
- Parameters:
name
- The identifier for the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the attribute.
- Parameters:
value
- The value of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaDocumentAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(DocumentAttributeValue)
.- Parameters:
value
- a consumer that will call methods onDocumentAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-