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 com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The ID of the instance.Iftrue
, terminating the instance also decrements the size of the Auto Scaling group.int
hashCode()
Iftrue
, 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) 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 com.amazonaws.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
The ID of the instance.
- Returns:
- The ID of the instance.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-