Interface InlineDocumentEnrichmentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InlineDocumentEnrichmentConfiguration.Builder,,InlineDocumentEnrichmentConfiguration> SdkBuilder<InlineDocumentEnrichmentConfiguration.Builder,,InlineDocumentEnrichmentConfiguration> SdkPojo
- Enclosing class:
InlineDocumentEnrichmentConfiguration
public static interface InlineDocumentEnrichmentConfiguration.Builder
extends SdkPojo, CopyableBuilder<InlineDocumentEnrichmentConfiguration.Builder,InlineDocumentEnrichmentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncondition(Consumer<DocumentAttributeCondition.Builder> condition) Sets the value of the Condition property for this object.condition(DocumentAttributeCondition condition) Sets the value of the Condition property for this object.documentContentOperator(String documentContentOperator) TRUEto delete content if the condition used for the target attribute is met.documentContentOperator(DocumentContentOperator documentContentOperator) TRUEto delete content if the condition used for the target attribute is met.Sets the value of the Target property for this object.target(DocumentAttributeTarget target) Sets the value of the Target property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
condition
Sets the value of the Condition property for this object.- Parameters:
condition- The new value for the Condition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
default InlineDocumentEnrichmentConfiguration.Builder condition(Consumer<DocumentAttributeCondition.Builder> condition) Sets the value of the Condition property for this object. This is a convenience method that creates an instance of theDocumentAttributeCondition.Builderavoiding the need to create one manually viaDocumentAttributeCondition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocondition(DocumentAttributeCondition).- Parameters:
condition- a consumer that will call methods onDocumentAttributeCondition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
Sets the value of the Target property for this object.- Parameters:
target- The new value for the Target property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default InlineDocumentEnrichmentConfiguration.Builder target(Consumer<DocumentAttributeTarget.Builder> target) Sets the value of the Target property for this object. This is a convenience method that creates an instance of theDocumentAttributeTarget.Builderavoiding the need to create one manually viaDocumentAttributeTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(DocumentAttributeTarget).- Parameters:
target- a consumer that will call methods onDocumentAttributeTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentContentOperator
InlineDocumentEnrichmentConfiguration.Builder documentContentOperator(String documentContentOperator) TRUEto delete content if the condition used for the target attribute is met.- Parameters:
documentContentOperator-TRUEto delete content if the condition used for the target attribute is met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentContentOperator
InlineDocumentEnrichmentConfiguration.Builder documentContentOperator(DocumentContentOperator documentContentOperator) TRUEto delete content if the condition used for the target attribute is met.- Parameters:
documentContentOperator-TRUEto delete content if the condition used for the target attribute is met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-