code: public void setInstancesToProtect(java.util.Collection<String> instancesToProtect) {
          if (instancesToProtect == null) {
              this.instancesToProtect = null;
              return;
          }
  
          this.instancesToProtect = new com.amazonaws.internal.SdkInternalList<String>(instancesToProtect);
      }
docs: <p>
  Specific list of instances to be protected when shrinking an instance group.
  </p>
  
  @param instancesToProtect
  Specific list of instances to be protected when shrinking an instance group.