Interface DocumentAttributeTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentAttributeTarget.Builder,
,DocumentAttributeTarget> SdkBuilder<DocumentAttributeTarget.Builder,
,DocumentAttributeTarget> SdkPojo
- Enclosing class:
DocumentAttributeTarget
@Mutable
@NotThreadSafe
public static interface DocumentAttributeTarget.Builder
extends SdkPojo, CopyableBuilder<DocumentAttributeTarget.Builder,DocumentAttributeTarget>
-
Method Summary
Modifier and TypeMethodDescriptionattributeValueOperator
(String attributeValueOperator) TRUE
to delete the existing target value for your specified target attribute key.attributeValueOperator
(AttributeValueOperator attributeValueOperator) TRUE
to delete the existing target value for your specified target attribute key.The identifier of the target document attribute or metadata field.default DocumentAttributeTarget.Builder
Sets the value of the Value property for this object.value
(DocumentAttributeValue value) Sets the value of the Value property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The identifier of the target document attribute or metadata field. For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents.
- Parameters:
key
- The identifier of the target document attribute or metadata field. For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Sets the value of the Value property for this object.- Parameters:
value
- The new value for the Value property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Sets the value of the Value property for this object. 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:
-
attributeValueOperator
TRUE
to delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE
.- Parameters:
attributeValueOperator
-TRUE
to delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeValueOperator
DocumentAttributeTarget.Builder attributeValueOperator(AttributeValueOperator attributeValueOperator) TRUE
to delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE
.- Parameters:
attributeValueOperator
-TRUE
to delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-