public class EnterStandbyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
EnterStandby operation.
Moves the specified instances into Standby mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
NOOP| Constructor and Description |
|---|
EnterStandbyRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnterStandbyRequest |
clone() |
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. |
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic List<String> getInstanceIds()
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)
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)
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.
Returns a reference to this object so that method calls can be chained together.
instanceIds - One or more instances to move into Standby mode. You must
specify at least one instance ID.public EnterStandbyRequest withInstanceIds(Collection<String> instanceIds)
Standby mode. You must
specify at least one instance ID.
Returns a reference to this object so that method calls can be chained together.
instanceIds - One or more instances to move into Standby mode. You must
specify at least one instance ID.public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group.public EnterStandbyRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group.public Boolean isShouldDecrementDesiredCapacity()
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 void setShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
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 EnterStandbyRequest withShouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
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.
Returns a reference to this object so that method calls can be chained together.
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()
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 ObjectObject.toString()public EnterStandbyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.