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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DocumentAttribute.Buildername(String name)The identifier for the attribute.default DocumentAttribute.Buildervalue(Consumer<DocumentAttributeValue.Builder> value)The value of the attribute.DocumentAttribute.Buildervalue(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 Detail
-
name
DocumentAttribute.Builder name(String 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
DocumentAttribute.Builder value(DocumentAttributeValue 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
default DocumentAttribute.Builder value(Consumer<DocumentAttributeValue.Builder> 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:
value(DocumentAttributeValue)
-
-