code: public void setContainerInstances(java.util.Collection<ContainerInstance> containerInstances) {
          if (containerInstances == null) {
              this.containerInstances = null;
              return;
          }
  
          this.containerInstances = new com.amazonaws.internal.SdkInternalList<ContainerInstance>(containerInstances);
      }
docs: <p>
  The list of container instances.
  </p>
  
  @param containerInstances
  The list of container instances.