@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingPolicyStatus extends Object implements Serializable, Cloneable, StructuredPojo
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()
Indicates the status of the automatic scaling policy.
|
AutoScalingPolicyStateChangeReason |
getStateChangeReason()
The reason for a change in status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setState(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
|
void |
setState(String state)
Indicates the status of the automatic scaling policy.
|
void |
setStateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingPolicyStatus |
withState(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
|
AutoScalingPolicyStatus |
withState(String state)
Indicates the status of the automatic scaling policy.
|
AutoScalingPolicyStatus |
withStateChangeReason(AutoScalingPolicyStateChangeReason stateChangeReason)
The reason for a change in status.
|
public void setState(String state)
Indicates the status of the automatic scaling policy.
state - Indicates the status of the automatic scaling policy.AutoScalingPolicyStatepublic String getState()
Indicates the status of the automatic scaling policy.
AutoScalingPolicyStatepublic AutoScalingPolicyStatus withState(String state)
Indicates the status of the automatic scaling policy.
state - Indicates the status of the automatic scaling policy.AutoScalingPolicyStatepublic void setState(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
state - Indicates the status of the automatic scaling policy.AutoScalingPolicyStatepublic AutoScalingPolicyStatus withState(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
state - Indicates the status of the automatic scaling policy.AutoScalingPolicyStatepublic 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 ObjectObject.toString()public AutoScalingPolicyStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.