Interface ScalingAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScalingAction.Builder,ScalingAction>,SdkBuilder<ScalingAction.Builder,ScalingAction>,SdkPojo
- Enclosing class:
- ScalingAction
public static interface ScalingAction.Builder extends SdkPojo, CopyableBuilder<ScalingAction.Builder,ScalingAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ScalingAction.Buildermarket(String market)Not available for instance groups.ScalingAction.Buildermarket(MarketType market)Not available for instance groups.default ScalingAction.BuildersimpleScalingPolicyConfiguration(Consumer<SimpleScalingPolicyConfiguration.Builder> simpleScalingPolicyConfiguration)The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.ScalingAction.BuildersimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
market
ScalingAction.Builder market(String market)
Not available for instance groups. Instance groups use the market type specified for the group.
- Parameters:
market- Not available for instance groups. Instance groups use the market type specified for the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MarketType,MarketType
-
market
ScalingAction.Builder market(MarketType market)
Not available for instance groups. Instance groups use the market type specified for the group.
- Parameters:
market- Not available for instance groups. Instance groups use the market type specified for the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MarketType,MarketType
-
simpleScalingPolicyConfiguration
ScalingAction.Builder simpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration simpleScalingPolicyConfiguration)
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
- Parameters:
simpleScalingPolicyConfiguration- The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simpleScalingPolicyConfiguration
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 method that creates an instance of theSimpleScalingPolicyConfiguration.Builderavoiding the need to create one manually viaSimpleScalingPolicyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosimpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration).- Parameters:
simpleScalingPolicyConfiguration- a consumer that will call methods onSimpleScalingPolicyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
simpleScalingPolicyConfiguration(SimpleScalingPolicyConfiguration)
-
-