public AmazonOpenSearchServerlessDestinationUpdate withRoleARN(String roleARN) {
        setRoleARN(roleARN);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless offering for
Amazon OpenSearch Service Configuration API and for indexing documents.
</p>

@param roleARN
       The Amazon Resource Name (ARN) of the IAM role to be assumed by Firehose for calling the Serverless
       offering for Amazon OpenSearch Service Configuration API and for indexing documents.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/AmazonOpenSearchServerlessDestinationUpdate.java