code: public DescribeTerminationPolicyTypesResult withTerminationPolicyTypes(String... terminationPolicyTypes) {
          if (this.terminationPolicyTypes == null) {
              setTerminationPolicyTypes(new com.amazonaws.internal.SdkInternalList<String>(terminationPolicyTypes.length));
          }
          for (String ele : terminationPolicyTypes) {
              this.terminationPolicyTypes.add(ele);
          }
          return this;
      }
docs: <p>
  The termination policies supported by Amazon EC2 Auto Scaling: <code>OldestInstance</code>,
  <code>OldestLaunchConfiguration</code>, <code>NewestInstance</code>, <code>ClosestToNextInstanceHour</code>,
  <code>Default</code>, <code>OldestLaunchTemplate</code>, and <code>AllocationStrategy</code>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTerminationPolicyTypes(java.util.Collection)} or
  {@link #withTerminationPolicyTypes(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param terminationPolicyTypes
  The termination policies supported by Amazon EC2 Auto Scaling: <code>OldestInstance</code>,
  <code>OldestLaunchConfiguration</code>, <code>NewestInstance</code>,
  <code>ClosestToNextInstanceHour</code>, <code>Default</code>, <code>OldestLaunchTemplate</code>, and
  <code>AllocationStrategy</code>.
  @return Returns a reference to this object so that method calls can be chained together.