@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()
Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
|
int |
hashCode() |
Boolean |
isShouldDecrementDesiredCapacity()
Indicates whether 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)
Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
|
String |
toString()
Returns a string representation of this object.
|
TerminateInstanceInAutoScalingGroupRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
TerminateInstanceInAutoScalingGroupRequest |
withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether 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)
Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
shouldDecrementDesiredCapacity
- Indicates whether terminating the instance also decrements the size of the Auto Scaling group.public Boolean getShouldDecrementDesiredCapacity()
Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
public TerminateInstanceInAutoScalingGroupRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
shouldDecrementDesiredCapacity
- Indicates whether terminating the instance also decrements the size of the Auto Scaling group.public Boolean isShouldDecrementDesiredCapacity()
Indicates whether 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()