code: public void setEndpoints(java.util.Collection<EndpointSummary> endpoints) {
          if (endpoints == null) {
              this.endpoints = null;
              return;
          }
  
          this.endpoints = new java.util.ArrayList<EndpointSummary>(endpoints);
      }
docs: <p>
  An array or endpoint objects.
  </p>
  
  @param endpoints
  An array or endpoint objects.