Interface InlineDocumentEnrichmentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InlineDocumentEnrichmentConfiguration.Builder,
,InlineDocumentEnrichmentConfiguration> SdkBuilder<InlineDocumentEnrichmentConfiguration.Builder,
,InlineDocumentEnrichmentConfiguration> SdkPojo
- Enclosing class:
InlineDocumentEnrichmentConfiguration
@Mutable
@NotThreadSafe
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) TRUE
to delete content if the condition used for the target attribute is met.documentContentOperator
(DocumentContentOperator documentContentOperator) TRUE
to 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
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
-
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.Builder
avoiding the need to create one manually viaDocumentAttributeCondition.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaDocumentAttributeTarget.builder()
.When the
Consumer
completes,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) TRUE
to delete content if the condition used for the target attribute is met.- Parameters:
documentContentOperator
-TRUE
to 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) TRUE
to delete content if the condition used for the target attribute is met.- Parameters:
documentContentOperator
-TRUE
to 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:
-