public void setRoleARN(String roleARN) {
        this.roleARN = roleARN;
    }
<p>
Amazon Resource Name (ARN) of the IAM role assumed by Config and used by the configuration recorder.
</p>
<note>
<p>
While the API model does not require this field, the server will reject a request without a defined
<code>roleARN</code> for the configuration recorder.
</p>
</note> <note>
<p>
<b>Pre-existing Config role</b>
</p>
<p>
If you have used an Amazon Web Services service that uses Config, such as Security Hub or Control Tower, and an
Config role has already been created, make sure that the IAM role that you use when setting up Config keeps the
same minimum permissions as the already created Config role. You must do this so that the other Amazon Web
Services service continues to run as expected.
</p>
<p>
For example, if Control Tower has an IAM role that allows Config to read Amazon Simple Storage Service (Amazon
S3) objects, make sure that the same permissions are granted within the IAM role you use when setting up Config.
Otherwise, it may interfere with how Control Tower operates. For more information about IAM roles for Config, see
<a href="https://docs.aws.amazon.com/config/latest/developerguide/security-iam.html"> <b>Identity and Access
Management for Config</b> </a> in the <i>Config Developer Guide</i>.
</p>
</note>

@param roleARN
       Amazon Resource Name (ARN) of the IAM role assumed by Config and used by the configuration recorder.</p>
       <note>
       <p>
       While the API model does not require this field, the server will reject a request without a defined
       <code>roleARN</code> for the configuration recorder.
       </p>
       </note> <note>
       <p>
       <b>Pre-existing Config role</b>
       </p>
       <p>
       If you have used an Amazon Web Services service that uses Config, such as Security Hub or Control Tower,
       and an Config role has already been created, make sure that the IAM role that you use when setting up
       Config keeps the same minimum permissions as the already created Config role. You must do this so that the
       other Amazon Web Services service continues to run as expected.
       </p>
       <p>
       For example, if Control Tower has an IAM role that allows Config to read Amazon Simple Storage Service
       (Amazon S3) objects, make sure that the same permissions are granted within the IAM role you use when
       setting up Config. Otherwise, it may interfere with how Control Tower operates. For more information about
       IAM roles for Config, see <a
       href="https://docs.aws.amazon.com/config/latest/developerguide/security-iam.html"> <b>Identity and Access
       Management for Config</b> </a> in the <i>Config Developer Guide</i>.
       </p>
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/ConfigurationRecorder.java