@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnterStandbyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
EnterStandbyRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnterStandbyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
List<String> |
getInstanceIds()
The IDs of the instances.
|
Boolean |
getShouldDecrementDesiredCapacity()
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode. |
int |
hashCode() |
Boolean |
isShouldDecrementDesiredCapacity()
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
void |
setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode. |
String |
toString()
Returns a string representation of this object.
|
EnterStandbyRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
EnterStandbyRequest |
withInstanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
EnterStandbyRequest |
withInstanceIds(String... instanceIds)
The IDs of the instances.
|
EnterStandbyRequest |
withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode. |
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, withSdkRequestTimeoutpublic List<String> getInstanceIds()
The IDs of the instances. You can specify up to 20 instances.
public void setInstanceIds(Collection<String> instanceIds)
The IDs of the instances. You can specify up to 20 instances.
instanceIds - The IDs of the instances. You can specify up to 20 instances.public EnterStandbyRequest withInstanceIds(String... instanceIds)
The IDs of the instances. You can specify up to 20 instances.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection) or withInstanceIds(java.util.Collection) if you want to
override the existing values.
instanceIds - The IDs of the instances. You can specify up to 20 instances.public EnterStandbyRequest withInstanceIds(Collection<String> instanceIds)
The IDs of the instances. You can specify up to 20 instances.
instanceIds - The IDs of the instances. You can specify up to 20 instances.public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public EnterStandbyRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public void setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode.
shouldDecrementDesiredCapacity - Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances
moved to Standby mode.public Boolean getShouldDecrementDesiredCapacity()
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode.
Standby mode.public EnterStandbyRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode.
shouldDecrementDesiredCapacity - Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances
moved to Standby mode.public Boolean isShouldDecrementDesiredCapacity()
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby mode.
Standby mode.public String toString()
toString in class ObjectObject.toString()public EnterStandbyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()