public HookConfiguration withInvocationCondition(DocumentAttributeCondition invocationCondition) {
        setInvocationCondition(invocationCondition);
        return this;
    }
<p>
The condition used for when a Lambda function should be invoked.
</p>
<p>
For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should
invoke a function that inserts the current date-time.
</p>

@param invocationCondition
       The condition used for when a Lambda function should be invoked.</p>
       <p>
       For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra
       should invoke a function that inserts the current date-time.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/HookConfiguration.java