code: public void setMemberships(java.util.Collection<EnvironmentMember> memberships) {
          if (memberships == null) {
              this.memberships = null;
              return;
          }
  
          this.memberships = new java.util.ArrayList<EnvironmentMember>(memberships);
      }
docs: <p>
  Information about the environment members for the environment.
  </p>
  
  @param memberships
  Information about the environment members for the environment.