@Generated(value="software.amazon.awssdk:codegen") public final class ScalingAction extends Object implements StructuredPojo, ToCopyableBuilder<ScalingAction.Builder,ScalingAction>
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
Modifier and Type | Class and Description |
---|---|
static interface |
ScalingAction.Builder |
Modifier and Type | Method and Description |
---|---|
static ScalingAction.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MarketType |
market()
Not available for instance groups.
|
String |
marketAsString()
Not available for instance groups.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ScalingAction.Builder> |
serializableBuilderClass() |
SimpleScalingPolicyConfiguration |
simpleScalingPolicyConfiguration()
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.
|
ScalingAction.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public MarketType market()
Not available for instance groups. Instance groups use the market type specified for the group.
If the service returns an enum value that is not available in the current SDK version, market
will
return MarketType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
marketAsString()
.
MarketType
public String marketAsString()
Not available for instance groups. Instance groups use the market type specified for the group.
If the service returns an enum value that is not available in the current SDK version, market
will
return MarketType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
marketAsString()
.
MarketType
public SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration()
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
public ScalingAction.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ScalingAction.Builder,ScalingAction>
public static ScalingAction.Builder builder()
public static Class<? extends ScalingAction.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.