public BatchPutDocumentRequest withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
</p>

@param roleArn
       The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/BatchPutDocumentRequest.java