@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; useful for testing and debugging.
|
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.AutoScalingPolicyState
public String getState()
Indicates the status of the automatic scaling policy.
AutoScalingPolicyState
public AutoScalingPolicyStatus withState(String state)
Indicates the status of the automatic scaling policy.
state
- Indicates the status of the automatic scaling policy.AutoScalingPolicyState
public void setState(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
state
- Indicates the status of the automatic scaling policy.AutoScalingPolicyState
public AutoScalingPolicyStatus withState(AutoScalingPolicyState state)
Indicates the status of the automatic scaling policy.
state
- Indicates the status of the automatic scaling policy.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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.