@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.
OldestInstance,
OldestLaunchConfiguration, NewestInstance,
ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and
AllocationStrategy.public void setTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy.
terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance,
ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and
AllocationStrategy.public DescribeTerminationPolicyTypesResult withTerminationPolicyTypes(String... terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy.
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.public DescribeTerminationPolicyTypesResult withTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour,
Default, OldestLaunchTemplate, and AllocationStrategy.
terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance,
OldestLaunchConfiguration, NewestInstance,
ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and
AllocationStrategy.public String toString()
toString in class ObjectObject.toString()public DescribeTerminationPolicyTypesResult clone()
Copyright © 2019. All rights reserved.