public static interface AutoScaling.Builder extends SdkPojo, CopyableBuilder<AutoScaling.Builder,AutoScaling>
| Modifier and Type | Method and Description |
|---|---|
AutoScaling.Builder |
maxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
|
AutoScaling.Builder |
mcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker.
|
AutoScaling.Builder |
minWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
|
default AutoScaling.Builder |
scaleInPolicy(Consumer<ScaleInPolicy.Builder> scaleInPolicy)
The sacle-in policy for the connector.
|
AutoScaling.Builder |
scaleInPolicy(ScaleInPolicy scaleInPolicy)
The sacle-in policy for the connector.
|
default AutoScaling.Builder |
scaleOutPolicy(Consumer<ScaleOutPolicy.Builder> scaleOutPolicy)
The sacle-out policy for the connector.
|
AutoScaling.Builder |
scaleOutPolicy(ScaleOutPolicy scaleOutPolicy)
The sacle-out policy for the connector.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoScaling.Builder maxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
maxWorkerCount - The maximum number of workers allocated to the connector.AutoScaling.Builder mcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
mcuCount - The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are
1,2,4,8.AutoScaling.Builder minWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
minWorkerCount - The minimum number of workers allocated to the connector.AutoScaling.Builder scaleInPolicy(ScaleInPolicy scaleInPolicy)
The sacle-in policy for the connector.
scaleInPolicy - The sacle-in policy for the connector.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.Builder avoiding the need
to create one manually via ScaleInPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to scaleInPolicy(ScaleInPolicy).
scaleInPolicy - a consumer that will call methods on ScaleInPolicy.BuilderscaleInPolicy(ScaleInPolicy)AutoScaling.Builder scaleOutPolicy(ScaleOutPolicy scaleOutPolicy)
The sacle-out policy for the connector.
scaleOutPolicy - The sacle-out policy for the connector.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.Builder avoiding the need
to create one manually via ScaleOutPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to scaleOutPolicy(ScaleOutPolicy).
scaleOutPolicy - a consumer that will call methods on ScaleOutPolicy.BuilderscaleOutPolicy(ScaleOutPolicy)Copyright © 2023. All rights reserved.