public static interface ScalingAction.Builder extends CopyableBuilder<ScalingAction.Builder,ScalingAction>
| Modifier and Type | Method and Description |
|---|---|
ScalingAction.Builder |
market(MarketType market)
Not available for instance groups.
|
ScalingAction.Builder |
market(String market)
Not available for instance groups.
|
default ScalingAction.Builder |
simpleScalingPolicyConfiguration(Consumer<SimpleScalingPolicyConfiguration.Builder> simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.
|
ScalingAction.Builder |
simpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.
|
copyapply, buildScalingAction.Builder market(String market)
Not available for instance groups. Instance groups use the market type specified for the group.
market - Not available for instance groups. Instance groups use the market type specified for the group.MarketType,
MarketTypeScalingAction.Builder market(MarketType market)
Not available for instance groups. Instance groups use the market type specified for the group.
market - Not available for instance groups. Instance groups use the market type specified for the group.MarketType,
MarketTypeScalingAction.Builder simpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
simpleScalingPolicyConfiguration - The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the
adjustment.default ScalingAction.Builder simpleScalingPolicyConfiguration(Consumer<SimpleScalingPolicyConfiguration.Builder> simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
This is a convenience that creates an instance of theSimpleScalingPolicyConfiguration.Builder
avoiding the need to create one manually via SimpleScalingPolicyConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
simpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration).simpleScalingPolicyConfiguration - a consumer that will call methods on SimpleScalingPolicyConfiguration.BuildersimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.