public JournalS3ExportDescription withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the
following:
</p>
<ul>
<li>
<p>
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
</p>
</li>
<li>
<p>
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your
exported data.
</p>
</li>
</ul>

@param roleArn
       The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do
       the following:</p>
       <ul>
       <li>
       <p>
       Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
       </p>
       </li>
       <li>
       <p>
       (Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of
       your exported data.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qldb/src/main/java/com/amazonaws/services/qldb/model/JournalS3ExportDescription.java