@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()
One or more instances to move into
Standby mode. |
Boolean |
getShouldDecrementDesiredCapacity()
Specifies whether the instances moved to
Standby mode count as part of the Auto Scaling group's
desired capacity. |
int |
hashCode() |
Boolean |
isShouldDecrementDesiredCapacity()
Specifies whether the instances moved to
Standby mode count as part of the Auto Scaling group's
desired capacity. |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setInstanceIds(Collection<String> instanceIds)
One or more instances to move into
Standby mode. |
void |
setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Specifies whether the instances moved to
Standby mode count as part of the Auto Scaling group's
desired capacity. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EnterStandbyRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
EnterStandbyRequest |
withInstanceIds(Collection<String> instanceIds)
One or more instances to move into
Standby mode. |
EnterStandbyRequest |
withInstanceIds(String... instanceIds)
One or more instances to move into
Standby mode. |
EnterStandbyRequest |
withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Specifies whether the instances moved to
Standby mode count as part of the Auto Scaling group's
desired capacity. |
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 List<String> getInstanceIds()
One or more instances to move into Standby
mode. You must specify at least one instance ID.
Standby
mode. You must specify at least one instance ID.public void setInstanceIds(Collection<String> instanceIds)
One or more instances to move into Standby
mode. You must specify at least one instance ID.
instanceIds
- One or more instances to move into Standby
mode. You must specify at least one instance ID.public EnterStandbyRequest withInstanceIds(String... instanceIds)
One or more instances to move into Standby
mode. You must specify at least one instance ID.
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
- One or more instances to move into Standby
mode. You must specify at least one instance ID.public EnterStandbyRequest withInstanceIds(Collection<String> instanceIds)
One or more instances to move into Standby
mode. You must specify at least one instance ID.
instanceIds
- One or more instances to move into Standby
mode. You must specify at least one instance ID.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)
Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling group's
desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances
moved to Standby
mode.
shouldDecrementDesiredCapacity
- Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling
group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number
of instances moved to Standby
mode.public Boolean getShouldDecrementDesiredCapacity()
Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling group's
desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances
moved to Standby
mode.
Standby
mode count as part of the Auto Scaling
group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the
number of instances moved to Standby
mode.public EnterStandbyRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling group's
desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances
moved to Standby
mode.
shouldDecrementDesiredCapacity
- Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling
group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number
of instances moved to Standby
mode.public Boolean isShouldDecrementDesiredCapacity()
Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling group's
desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances
moved to Standby
mode.
Standby
mode count as part of the Auto Scaling
group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the
number of instances moved to Standby
mode.public String toString()
toString
in class Object
Object.toString()
public EnterStandbyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.