public class TerminateInstanceInAutoScalingGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TerminateInstanceInAutoScalingGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
TerminateInstanceInAutoScalingGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the EC2 instance.
|
Boolean |
getShouldDecrementDesiredCapacity()
If
true, terminating the instance also decrements the size
of the Auto Scaling group. |
int |
hashCode() |
Boolean |
isShouldDecrementDesiredCapacity()
If
true, terminating the instance also decrements the size
of the Auto Scaling group. |
void |
setInstanceId(String instanceId)
The ID of the EC2 instance.
|
void |
setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If
true, terminating the instance also decrements the size
of the Auto Scaling group. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminateInstanceInAutoScalingGroupRequest |
withInstanceId(String instanceId)
The ID of the EC2 instance.
|
TerminateInstanceInAutoScalingGroupRequest |
withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If
true, terminating the instance also decrements the size
of the Auto Scaling group. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic TerminateInstanceInAutoScalingGroupRequest()
public void setInstanceId(String instanceId)
The ID of the EC2 instance.
instanceId - The ID of the EC2 instance.public String getInstanceId()
The ID of the EC2 instance.
public TerminateInstanceInAutoScalingGroupRequest withInstanceId(String instanceId)
The ID of the EC2 instance.
instanceId - The ID of the EC2 instance.public void setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If true, terminating the instance also decrements the size
of the Auto Scaling group.
shouldDecrementDesiredCapacity - If true, terminating the instance also decrements the
size of the Auto Scaling group.public Boolean getShouldDecrementDesiredCapacity()
If true, terminating the instance also decrements the size
of the Auto Scaling group.
true, terminating the instance also decrements
the size of the Auto Scaling group.public TerminateInstanceInAutoScalingGroupRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If true, terminating the instance also decrements the size
of the Auto Scaling group.
shouldDecrementDesiredCapacity - If true, terminating the instance also decrements the
size of the Auto Scaling group.public Boolean isShouldDecrementDesiredCapacity()
If true, terminating the instance also decrements the size
of the Auto Scaling group.
true, terminating the instance also decrements
the size of the Auto Scaling group.public String toString()
toString in class ObjectObject.toString()public TerminateInstanceInAutoScalingGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.