@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTerminationPolicyTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeTerminationPolicyTypesResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTerminationPolicyTypesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getTerminationPolicyTypes()
The termination policies supported by Amazon EC2 Auto Scaling:
OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. |
int |
hashCode() |
void |
setTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling:
OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. |
String |
toString()
Returns a string representation of this object.
|
DescribeTerminationPolicyTypesResult |
withTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling:
OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. |
DescribeTerminationPolicyTypesResult |
withTerminationPolicyTypes(String... terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling:
OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic DescribeTerminationPolicyTypesResult()
public List<String> getTerminationPolicyTypes()
The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. Currently, the
OldestLaunchTemplate and AllocationStrategy policies are only supported for Auto
Scaling groups with MixedInstancesPolicy.
OldestInstance,
OldestLaunchConfiguration, NewestInstance,
ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and
AllocationStrategy. Currently, the OldestLaunchTemplate and
AllocationStrategy policies are only supported for Auto Scaling groups with
MixedInstancesPolicy.public void setTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. Currently, the
OldestLaunchTemplate and AllocationStrategy policies are only supported for Auto
Scaling groups with MixedInstancesPolicy.
terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance,
ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and
AllocationStrategy. Currently, the OldestLaunchTemplate and
AllocationStrategy policies are only supported for Auto Scaling groups with
MixedInstancesPolicy.public DescribeTerminationPolicyTypesResult withTerminationPolicyTypes(String... terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. Currently, the
OldestLaunchTemplate and AllocationStrategy policies are only supported for Auto
Scaling groups with MixedInstancesPolicy.
NOTE: This method appends the values to the existing list (if any). Use
setTerminationPolicyTypes(java.util.Collection) or
withTerminationPolicyTypes(java.util.Collection) if you want to override the existing values.
terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance,
ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and
AllocationStrategy. Currently, the OldestLaunchTemplate and
AllocationStrategy policies are only supported for Auto Scaling groups with
MixedInstancesPolicy.public DescribeTerminationPolicyTypesResult withTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy. Currently, the
OldestLaunchTemplate and AllocationStrategy policies are only supported for Auto
Scaling groups with MixedInstancesPolicy.
terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance,
ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and
AllocationStrategy. Currently, the OldestLaunchTemplate and
AllocationStrategy policies are only supported for Auto Scaling groups with
MixedInstancesPolicy.public String toString()
toString in class ObjectObject.toString()public DescribeTerminationPolicyTypesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.