code: public void setServiceRegistries(java.util.Collection<ServiceRegistry> serviceRegistries) {
          if (serviceRegistries == null) {
              this.serviceRegistries = null;
              return;
          }
  
          this.serviceRegistries = new com.amazonaws.internal.SdkInternalList<ServiceRegistry>(serviceRegistries);
      }
docs: <p>
  The details of the service discovery registries to assign to this task set. For more information, see <a
  href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service Discovery</a>.
  </p>
  
  @param serviceRegistries
  The details of the service discovery registries to assign to this task set. For more information, see <a
  href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service
  Discovery</a>.