public HookConfiguration withLambdaArn(String lambdaArn) {
        setLambdaArn(lambdaArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more
information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html">IAM roles for Amazon
Kendra</a>.
</p>

@param lambdaArn
       The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For
       more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html">IAM roles for
       Amazon Kendra</a>.
@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