@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) |
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.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)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.