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.BuilderThe value of the attribute.value(DocumentAttributeValue value) The value of the attribute.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
key
The identifier for the attribute.
- Parameters:
 key- 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.Builderavoiding the need to create one manually viaDocumentAttributeValue.builder().When the
Consumercompletes,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:
 
 
 -