Interface DocumentAttributeTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentAttributeTarget.Builder,
,DocumentAttributeTarget> SdkBuilder<DocumentAttributeTarget.Builder,
,DocumentAttributeTarget> SdkPojo
- Enclosing class:
DocumentAttributeTarget
-
Method Summary
Modifier and TypeMethodDescriptiontargetDocumentAttributeKey
(String targetDocumentAttributeKey) The identifier of the target document attribute or metadata field.default DocumentAttributeTarget.Builder
targetDocumentAttributeValue
(Consumer<DocumentAttributeValue.Builder> targetDocumentAttributeValue) The target value you want to create for the target attribute.targetDocumentAttributeValue
(DocumentAttributeValue targetDocumentAttributeValue) The target value you want to create for the target attribute.targetDocumentAttributeValueDeletion
(Boolean targetDocumentAttributeValueDeletion) TRUE
to delete the existing target value for your specified target attribute key.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
-
targetDocumentAttributeKey
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:
targetDocumentAttributeKey
- 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.
-
targetDocumentAttributeValueDeletion
DocumentAttributeTarget.Builder targetDocumentAttributeValueDeletion(Boolean targetDocumentAttributeValueDeletion) TRUE
to delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE
. To create a target value (TargetDocumentAttributeValue
), set this toFALSE
.- Parameters:
targetDocumentAttributeValueDeletion
-TRUE
to delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE
. To create a target value (TargetDocumentAttributeValue
), set this toFALSE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDocumentAttributeValue
DocumentAttributeTarget.Builder targetDocumentAttributeValue(DocumentAttributeValue targetDocumentAttributeValue) The target value you want to create for the target attribute.
For example, 'Finance' could be the target value for the target attribute key 'Department'.
- Parameters:
targetDocumentAttributeValue
- The target value you want to create for the target attribute.For example, 'Finance' could be the target value for the target attribute key 'Department'.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDocumentAttributeValue
default DocumentAttributeTarget.Builder targetDocumentAttributeValue(Consumer<DocumentAttributeValue.Builder> targetDocumentAttributeValue) The target value you want to create for the target attribute.
For example, 'Finance' could be the target value for the target attribute key 'Department'.
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 totargetDocumentAttributeValue(DocumentAttributeValue)
.- Parameters:
targetDocumentAttributeValue
- 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:
-