public void setComponentRoleArn(String componentRoleArn) {
        this.componentRoleArn = componentRoleArn;
    }
<p>
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in the associated environment account. It determines the scope of infrastructure that a component can
provision in the account.
</p>
<p>
The environment account connection must have a <code>componentRoleArn</code> to allow directly defined components
to be associated with any environments running in the account.
</p>
<p>
For more information about components, see <a
href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
<i>Proton User Guide</i>.
</p>

@param componentRoleArn
       The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
       components in the associated environment account. It determines the scope of infrastructure that a
       component can provision in the account.</p>
       <p>
       The environment account connection must have a <code>componentRoleArn</code> to allow directly defined
       components to be associated with any environments running in the account.
       </p>
       <p>
       For more information about components, see <a
       href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the
       <i>Proton User Guide</i>.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/EnvironmentAccountConnection.java