Class TerminateInstanceInAutoScalingGroupRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.TerminateInstanceInAutoScalingGroupRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
public class TerminateInstanceInAutoScalingGroupRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe ID of the instance.Iftrue, terminating the instance also decrements the size of the Auto Scaling group.inthashCode()Iftrue, terminating the instance also decrements the size of the Auto Scaling group.voidsetInstanceId(String instanceId) The ID of the instance.voidsetShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity) Iftrue, terminating the instance also decrements the size of the Auto Scaling group.toString()Returns a string representation of this object; useful for testing and debugging.withInstanceId(String instanceId) The ID of the instance.withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity) Iftrue, terminating the instance also decrements the size of the Auto Scaling group.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
TerminateInstanceInAutoScalingGroupRequest
public TerminateInstanceInAutoScalingGroupRequest()
-
-
Method Details
-
setInstanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.
-
getInstanceId
-
withInstanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShouldDecrementDesiredCapacity
If
true, terminating the instance also decrements the size of the Auto Scaling group.- Parameters:
shouldDecrementDesiredCapacity- Iftrue, terminating the instance also decrements the size of the Auto Scaling group.
-
getShouldDecrementDesiredCapacity
If
true, terminating the instance also decrements the size of the Auto Scaling group.- Returns:
- If
true, terminating the instance also decrements the size of the Auto Scaling group.
-
withShouldDecrementDesiredCapacity
public TerminateInstanceInAutoScalingGroupRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity) If
true, terminating the instance also decrements the size of the Auto Scaling group.- Parameters:
shouldDecrementDesiredCapacity- Iftrue, terminating the instance also decrements the size of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isShouldDecrementDesiredCapacity
If
true, terminating the instance also decrements the size of the Auto Scaling group.- Returns:
- If
true, terminating the instance also decrements the size of the Auto Scaling group.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-