public UpdateEnvironmentResult withOperationsRole(String operationsRole) {
        setOperationsRole(operationsRole);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the environment's operations role. For more information, see <a
href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html">Operations roles</a> in the
<i>AWS Elastic Beanstalk Developer Guide</i>.
</p>

@param operationsRole
       The Amazon Resource Name (ARN) of the environment's operations role. For more information, see <a
       href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/iam-operationsrole.html">Operations roles</a>
       in the <i>AWS Elastic Beanstalk Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/UpdateEnvironmentResult.java