Interface DocumentAttribute.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DocumentAttribute.Builder,,- DocumentAttribute> - SdkBuilder<DocumentAttribute.Builder,,- DocumentAttribute> - SdkPojo
- Enclosing class:
- DocumentAttribute
@Mutable
@NotThreadSafe
public static interface DocumentAttribute.Builder
extends SdkPojo, CopyableBuilder<DocumentAttribute.Builder,DocumentAttribute> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe 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.
 
- 
valueThe 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.
 
- 
valueThe 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 on- DocumentAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-