Interface DocumentAttributeTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentAttributeTarget.Builder,DocumentAttributeTarget>,SdkBuilder<DocumentAttributeTarget.Builder,DocumentAttributeTarget>,SdkPojo
- Enclosing class:
- DocumentAttributeTarget
public static interface DocumentAttributeTarget.Builder extends SdkPojo, CopyableBuilder<DocumentAttributeTarget.Builder,DocumentAttributeTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DocumentAttributeTarget.BuilderattributeValueOperator(String attributeValueOperator)TRUEto delete the existing target value for your specified target attribute key.DocumentAttributeTarget.BuilderattributeValueOperator(AttributeValueOperator attributeValueOperator)TRUEto delete the existing target value for your specified target attribute key.DocumentAttributeTarget.Builderkey(String key)The identifier of the target document attribute or metadata field.default DocumentAttributeTarget.Buildervalue(Consumer<DocumentAttributeValue.Builder> value)Sets the value of the Value property for this object.DocumentAttributeTarget.Buildervalue(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, sdkFields
-
-
-
-
Method Detail
-
key
DocumentAttributeTarget.Builder key(String 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
DocumentAttributeTarget.Builder value(DocumentAttributeValue 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
default DocumentAttributeTarget.Builder value(Consumer<DocumentAttributeValue.Builder> value)
Sets the value of the Value property for this object. 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)
-
attributeValueOperator
DocumentAttributeTarget.Builder attributeValueOperator(String attributeValueOperator)
TRUEto delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE.- Parameters:
attributeValueOperator-TRUEto 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,AttributeValueOperator
-
attributeValueOperator
DocumentAttributeTarget.Builder attributeValueOperator(AttributeValueOperator attributeValueOperator)
TRUEto delete the existing target value for your specified target attribute key. You cannot create a target value and set this toTRUE.- Parameters:
attributeValueOperator-TRUEto 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,AttributeValueOperator
-
-