@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminateInstanceInAutoScalingGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for TerminateInstanceInAutoScalingGroup.
NOOP
Constructor and Description |
---|
TerminateInstanceInAutoScalingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
TerminateInstanceInAutoScalingGroupRequest |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the 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 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 instance.
|
TerminateInstanceInAutoScalingGroupRequest |
withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If
true , terminating the instance also decrements the size of the Auto Scaling group. |
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public TerminateInstanceInAutoScalingGroupRequest()
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public TerminateInstanceInAutoScalingGroupRequest withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the 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 Object
Object.toString()
public TerminateInstanceInAutoScalingGroupRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.