code: public CreateAutoScalingGroupRequest withTerminationPolicies(String... terminationPolicies) {
          if (this.terminationPolicies == null) {
              setTerminationPolicies(new com.amazonaws.internal.SdkInternalList<String>(terminationPolicies.length));
          }
          for (String ele : terminationPolicies) {
              this.terminationPolicies.add(ele);
          }
          return this;
      }
docs: <p>
  One or more termination policies used to select the instance to terminate. These policies are executed in the
  order that they are listed.
  </p>
  <p>
  For more information, see <a
  href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html">Controlling Which
  Instances Auto Scaling Terminates During Scale In</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTerminationPolicies(java.util.Collection)} or {@link #withTerminationPolicies(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param terminationPolicies
  One or more termination policies used to select the instance to terminate. These policies are executed in
  the order that they are listed.</p>
  <p>
  For more information, see <a
  href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html">Controlling
  Which Instances Auto Scaling Terminates During Scale In</a> in the <i>Amazon EC2 Auto Scaling User
  Guide</i>.
  @return Returns a reference to this object so that method calls can be chained together.