code: public InstanceGroupModifyConfig withEC2InstanceIdsToTerminate(String... eC2InstanceIdsToTerminate) {
          if (this.eC2InstanceIdsToTerminate == null) {
              setEC2InstanceIdsToTerminate(new com.amazonaws.internal.SdkInternalList<String>(eC2InstanceIdsToTerminate.length));
          }
          for (String ele : eC2InstanceIdsToTerminate) {
              this.eC2InstanceIdsToTerminate.add(ele);
          }
          return this;
      }
docs: <p>
  The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its
  original requested size.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEC2InstanceIdsToTerminate(java.util.Collection)} or
  {@link #withEC2InstanceIdsToTerminate(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param eC2InstanceIdsToTerminate
  The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to
  its original requested size.
  @return Returns a reference to this object so that method calls can be chained together.