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.
|
copy
apply, build
ScalingAction.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
,
MarketType
ScalingAction.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
,
MarketType
ScalingAction.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.Builder
simpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.