Interface AutoScaling.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoScaling.Builder,AutoScaling>,SdkBuilder<AutoScaling.Builder,AutoScaling>,SdkPojo
- Enclosing class:
- AutoScaling
public static interface AutoScaling.Builder extends SdkPojo, CopyableBuilder<AutoScaling.Builder,AutoScaling>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutoScaling.BuildermaxWorkerCount(Integer maxWorkerCount)The maximum number of workers allocated to the connector.AutoScaling.BuildermcuCount(Integer mcuCount)The number of microcontroller units (MCUs) allocated to each connector worker.AutoScaling.BuilderminWorkerCount(Integer minWorkerCount)The minimum number of workers allocated to the connector.default AutoScaling.BuilderscaleInPolicy(Consumer<ScaleInPolicy.Builder> scaleInPolicy)The sacle-in policy for the connector.AutoScaling.BuilderscaleInPolicy(ScaleInPolicy scaleInPolicy)The sacle-in policy for the connector.default AutoScaling.BuilderscaleOutPolicy(Consumer<ScaleOutPolicy.Builder> scaleOutPolicy)The sacle-out policy for the connector.AutoScaling.BuilderscaleOutPolicy(ScaleOutPolicy scaleOutPolicy)The sacle-out policy for the connector.-
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, sdkFields
-
-
-
-
Method Detail
-
maxWorkerCount
AutoScaling.Builder maxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
- Parameters:
maxWorkerCount- The maximum number of workers allocated to the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcuCount
AutoScaling.Builder mcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
- Parameters:
mcuCount- The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minWorkerCount
AutoScaling.Builder minWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
- Parameters:
minWorkerCount- The minimum number of workers allocated to the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaleInPolicy
AutoScaling.Builder scaleInPolicy(ScaleInPolicy scaleInPolicy)
The sacle-in policy for the connector.
- Parameters:
scaleInPolicy- The sacle-in policy for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaleInPolicy
default AutoScaling.Builder scaleInPolicy(Consumer<ScaleInPolicy.Builder> scaleInPolicy)
The sacle-in policy for the connector.
This is a convenience method that creates an instance of theScaleInPolicy.Builderavoiding the need to create one manually viaScaleInPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscaleInPolicy(ScaleInPolicy).- Parameters:
scaleInPolicy- a consumer that will call methods onScaleInPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scaleInPolicy(ScaleInPolicy)
-
scaleOutPolicy
AutoScaling.Builder scaleOutPolicy(ScaleOutPolicy scaleOutPolicy)
The sacle-out policy for the connector.
- Parameters:
scaleOutPolicy- The sacle-out policy for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaleOutPolicy
default AutoScaling.Builder scaleOutPolicy(Consumer<ScaleOutPolicy.Builder> scaleOutPolicy)
The sacle-out policy for the connector.
This is a convenience method that creates an instance of theScaleOutPolicy.Builderavoiding the need to create one manually viaScaleOutPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscaleOutPolicy(ScaleOutPolicy).- Parameters:
scaleOutPolicy- a consumer that will call methods onScaleOutPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scaleOutPolicy(ScaleOutPolicy)
-
-