Interface DescribeTerminationPolicyTypesResponse.Builder

    • Method Detail

      • terminationPolicyTypes

        DescribeTerminationPolicyTypesResponse.Builder terminationPolicyTypes​(Collection<String> terminationPolicyTypes)

        The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.

        Parameters:
        terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • terminationPolicyTypes

        DescribeTerminationPolicyTypesResponse.Builder terminationPolicyTypes​(String... terminationPolicyTypes)

        The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.

        Parameters:
        terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.