|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.TerminateInstanceInAutoScalingGroupRequest
public class TerminateInstanceInAutoScalingGroupRequest
Constructor Summary | |
---|---|
TerminateInstanceInAutoScalingGroupRequest()
|
Method Summary | |
---|---|
String |
getInstanceId()
The ID of the EC2 instance to be terminated. |
Boolean |
getShouldDecrementDesiredCapacity()
Specifies whether (true) or not (false) terminating this instance should also decrement the size of the AutoScalingGroup. |
Boolean |
isShouldDecrementDesiredCapacity()
Specifies whether (true) or not (false) terminating this instance should also decrement the size of the AutoScalingGroup. |
void |
setInstanceId(String instanceId)
The ID of the EC2 instance to be terminated. |
void |
setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Specifies whether (true) or not (false) terminating this instance should also decrement the size of the AutoScalingGroup. |
String |
toString()
|
TerminateInstanceInAutoScalingGroupRequest |
withInstanceId(String instanceId)
The ID of the EC2 instance to be terminated. |
TerminateInstanceInAutoScalingGroupRequest |
withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Specifies whether (true) or not (false) terminating this instance should also decrement the size of the AutoScalingGroup. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TerminateInstanceInAutoScalingGroupRequest()
Method Detail |
---|
public String getInstanceId()
Constraints:
Length: 1 - 16
Pattern: [ -??-??-?\r\n\t]*
public void setInstanceId(String instanceId)
Constraints:
Length: 1 - 16
Pattern: [ -??-??-?\r\n\t]*
instanceId
- The ID of the EC2 instance to be terminated.public TerminateInstanceInAutoScalingGroupRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16
Pattern: [ -??-??-?\r\n\t]*
instanceId
- The ID of the EC2 instance to be terminated.
public Boolean isShouldDecrementDesiredCapacity()
public void setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
shouldDecrementDesiredCapacity
- Specifies whether (true) or not (false) terminating this
instance should also decrement the size of the
AutoScalingGroup.public TerminateInstanceInAutoScalingGroupRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Returns a reference to this object so that method calls can be chained together.
shouldDecrementDesiredCapacity
- Specifies whether (true) or not (false) terminating this
instance should also decrement the size of the
AutoScalingGroup.
public Boolean getShouldDecrementDesiredCapacity()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |