@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.