@Generated(value="software.amazon.awssdk:codegen") public class AutoScalingPolicyStatus extends Object implements StructuredPojo, ToCopyableBuilder<AutoScalingPolicyStatus.Builder,AutoScalingPolicyStatus>
The status of an automatic scaling policy.
Modifier and Type | Class and Description |
---|---|
static interface |
AutoScalingPolicyStatus.Builder |
Modifier and Type | Method and Description |
---|---|
static AutoScalingPolicyStatus.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends AutoScalingPolicyStatus.Builder> |
serializableBuilderClass() |
AutoScalingPolicyState |
state()
Indicates the status of the automatic scaling policy.
|
AutoScalingPolicyStateChangeReason |
stateChangeReason()
The reason for a change in status.
|
String |
stateString()
Indicates the status of the automatic scaling policy.
|
AutoScalingPolicyStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public AutoScalingPolicyState state()
Indicates the status of the automatic scaling policy.
If the service returns an enum value that is not available in the current SDK version, state
will return
AutoScalingPolicyState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
AutoScalingPolicyState
public String stateString()
Indicates the status of the automatic scaling policy.
If the service returns an enum value that is not available in the current SDK version, state
will return
AutoScalingPolicyState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
AutoScalingPolicyState
public AutoScalingPolicyStateChangeReason stateChangeReason()
The reason for a change in status.
public AutoScalingPolicyStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AutoScalingPolicyStatus.Builder,AutoScalingPolicyStatus>
public static AutoScalingPolicyStatus.Builder builder()
public static Class<? extends AutoScalingPolicyStatus.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.