Interface ScalingAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScalingAction.Builder,,ScalingAction> SdkBuilder<ScalingAction.Builder,,ScalingAction> SdkPojo
- Enclosing class:
ScalingAction
@Mutable
@NotThreadSafe
public static interface ScalingAction.Builder
extends SdkPojo, CopyableBuilder<ScalingAction.Builder,ScalingAction>
-
Method Summary
Modifier and TypeMethodDescriptionNot available for instance groups.market(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.simpleScalingPolicyConfiguration(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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:
-