@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 Auto Scaling (
OldestInstance ,
OldestLaunchConfiguration , NewestInstance , ClosestToNextInstanceHour , and
Default ). |
int |
hashCode() |
void |
setTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Auto Scaling (
OldestInstance ,
OldestLaunchConfiguration , NewestInstance , ClosestToNextInstanceHour , and
Default ). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeTerminationPolicyTypesResult |
withTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Auto Scaling (
OldestInstance ,
OldestLaunchConfiguration , NewestInstance , ClosestToNextInstanceHour , and
Default ). |
DescribeTerminationPolicyTypesResult |
withTerminationPolicyTypes(String... terminationPolicyTypes)
The termination policies supported by Auto Scaling (
OldestInstance ,
OldestLaunchConfiguration , NewestInstance , ClosestToNextInstanceHour , and
Default ). |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeTerminationPolicyTypesResult()
public List<String> getTerminationPolicyTypes()
The termination policies supported by Auto Scaling (OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
, ClosestToNextInstanceHour
, and
Default
).
OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
,
ClosestToNextInstanceHour
, and Default
).public void setTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Auto Scaling (OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
, ClosestToNextInstanceHour
, and
Default
).
terminationPolicyTypes
- The termination policies supported by Auto Scaling (OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
,
ClosestToNextInstanceHour
, and Default
).public DescribeTerminationPolicyTypesResult withTerminationPolicyTypes(String... terminationPolicyTypes)
The termination policies supported by Auto Scaling (OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
, ClosestToNextInstanceHour
, and
Default
).
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 Auto Scaling (OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
,
ClosestToNextInstanceHour
, and Default
).public DescribeTerminationPolicyTypesResult withTerminationPolicyTypes(Collection<String> terminationPolicyTypes)
The termination policies supported by Auto Scaling (OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
, ClosestToNextInstanceHour
, and
Default
).
terminationPolicyTypes
- The termination policies supported by Auto Scaling (OldestInstance
,
OldestLaunchConfiguration
, NewestInstance
,
ClosestToNextInstanceHour
, and Default
).public String toString()
toString
in class Object
Object.toString()
public DescribeTerminationPolicyTypesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.