code: public void setTerminationPolicyTypes(java.util.Collection<String> terminationPolicyTypes) {
          if (terminationPolicyTypes == null) {
              this.terminationPolicyTypes = null;
              return;
          }
  
          this.terminationPolicyTypes = new com.amazonaws.internal.SdkInternalList<String>(terminationPolicyTypes);
      }
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>
  
  @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>.