public AssociateEnvironmentOperationsRoleRequest withEnvironmentName(String environmentName) {
        setEnvironmentName(environmentName);
        return this;
    }
<p>
The name of the environment to which to set the operations role.
</p>

@param environmentName
       The name of the environment to which to set the operations role.
@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/AssociateEnvironmentOperationsRoleRequest.java