public class EnterStandbyRequest extends AmazonWebServiceRequest implements java.io.Serializable
Moves the specified instances into Standby
mode.
For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
Constructor and Description |
---|
EnterStandbyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
java.util.List<java.lang.String> |
getInstanceIds()
One or more instances to move into
Standby mode. |
java.lang.Boolean |
getShouldDecrementDesiredCapacity()
Specifies whether the instances moved to
Standby mode count
as part of the Auto Scaling group's desired capacity. |
int |
hashCode() |
java.lang.Boolean |
isShouldDecrementDesiredCapacity()
Specifies whether the instances moved to
Standby mode count
as part of the Auto Scaling group's desired capacity. |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more instances to move into
Standby mode. |
void |
setShouldDecrementDesiredCapacity(java.lang.Boolean shouldDecrementDesiredCapacity)
Specifies whether the instances moved to
Standby mode count
as part of the Auto Scaling group's desired capacity. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EnterStandbyRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
EnterStandbyRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more instances to move into
Standby mode. |
EnterStandbyRequest |
withInstanceIds(java.lang.String... instanceIds)
One or more instances to move into
Standby mode. |
EnterStandbyRequest |
withShouldDecrementDesiredCapacity(java.lang.Boolean shouldDecrementDesiredCapacity)
Specifies whether the instances moved to
Standby mode count
as part of the Auto Scaling group's desired capacity. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getInstanceIds()
One or more instances to move into Standby
mode. You must
specify at least one instance ID.
One or more instances to move into Standby
mode. You
must specify at least one instance ID.
public void setInstanceIds(java.util.Collection<java.lang.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(java.lang.String... instanceIds)
One or more instances to move into 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 EnterStandbyRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
One or more instances to move into 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 java.lang.String getAutoScalingGroupName()
The name of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name of the Auto Scaling group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.
public EnterStandbyRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.
public java.lang.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.
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 java.lang.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.
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 void setShouldDecrementDesiredCapacity(java.lang.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 EnterStandbyRequest withShouldDecrementDesiredCapacity(java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.