public class AutoScalingPolicyStatus extends Object implements Serializable, Cloneable
The status of an automatic scaling policy.
Constructor and Description |
---|
AutoScalingPolicyStatus() |
Modifier and Type | Method and Description |
---|---|
AutoScalingPolicyStatus |
clone() |
boolean |
equals(Object obj) |
String |
getState() |
AutoScalingPolicyStateChangeReason |
getStateChangeReason()
The reason for a change in status.
|
int |
hashCode() |
void |
setState(AutoScalingPolicyState state) |
void |
setState(String state) |
void |
setStateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AutoScalingPolicyStatus |
withState(AutoScalingPolicyState state) |
AutoScalingPolicyStatus |
withState(String state) |
AutoScalingPolicyStatus |
withStateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
|
public void setState(String state)
state
- AutoScalingPolicyState
public String getState()
AutoScalingPolicyState
public AutoScalingPolicyStatus withState(String state)
state
- AutoScalingPolicyState
public void setState(AutoScalingPolicyState state)
state
- AutoScalingPolicyState
public AutoScalingPolicyStatus withState(AutoScalingPolicyState state)
state
- AutoScalingPolicyState
public void setStateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
stateChangeReason
- The reason for a change in status.public AutoScalingPolicyStateChangeReason getStateChangeReason()
The reason for a change in status.
public AutoScalingPolicyStatus withStateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
stateChangeReason
- The reason for a change in status.public String toString()
toString
in class Object
Object.toString()
public AutoScalingPolicyStatus clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.