docs: public void setEnvironments(java.util.Collection<Environment> environments) {
          if (environments == null) {
              this.environments = null;
              return;
          }
  
          this.environments = new java.util.ArrayList<Environment>(environments);
      }