public static interface AutoScalingDescription.Builder extends SdkPojo, CopyableBuilder<AutoScalingDescription.Builder,AutoScalingDescription>
| Modifier and Type | Method and Description |
|---|---|
AutoScalingDescription.Builder |
maxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
|
AutoScalingDescription.Builder |
mcuCount(Integer mcuCount)
The number of microcontroller units (MCUs) allocated to each connector worker.
|
AutoScalingDescription.Builder |
minWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
|
default AutoScalingDescription.Builder |
scaleInPolicy(Consumer<ScaleInPolicyDescription.Builder> scaleInPolicy)
The sacle-in policy for the connector.
|
AutoScalingDescription.Builder |
scaleInPolicy(ScaleInPolicyDescription scaleInPolicy)
The sacle-in policy for the connector.
|
default AutoScalingDescription.Builder |
scaleOutPolicy(Consumer<ScaleOutPolicyDescription.Builder> scaleOutPolicy)
The sacle-out policy for the connector.>
|
AutoScalingDescription.Builder |
scaleOutPolicy(ScaleOutPolicyDescription scaleOutPolicy)
The sacle-out policy for the connector.>
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutoScalingDescription.Builder maxWorkerCount(Integer maxWorkerCount)
The maximum number of workers allocated to the connector.
maxWorkerCount - The maximum number of workers allocated to the connector.AutoScalingDescription.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.AutoScalingDescription.Builder minWorkerCount(Integer minWorkerCount)
The minimum number of workers allocated to the connector.
minWorkerCount - The minimum number of workers allocated to the connector.AutoScalingDescription.Builder scaleInPolicy(ScaleInPolicyDescription scaleInPolicy)
The sacle-in policy for the connector.
scaleInPolicy - The sacle-in policy for the connector.default AutoScalingDescription.Builder scaleInPolicy(Consumer<ScaleInPolicyDescription.Builder> scaleInPolicy)
The sacle-in policy for the connector.
This is a convenience method that creates an instance of theScaleInPolicyDescription.Builder
avoiding the need to create one manually via ScaleInPolicyDescription.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to scaleInPolicy(ScaleInPolicyDescription).
scaleInPolicy - a consumer that will call methods on ScaleInPolicyDescription.BuilderscaleInPolicy(ScaleInPolicyDescription)AutoScalingDescription.Builder scaleOutPolicy(ScaleOutPolicyDescription scaleOutPolicy)
The sacle-out policy for the connector.>
scaleOutPolicy - The sacle-out policy for the connector.>default AutoScalingDescription.Builder scaleOutPolicy(Consumer<ScaleOutPolicyDescription.Builder> scaleOutPolicy)
The sacle-out policy for the connector.>
This is a convenience method that creates an instance of theScaleOutPolicyDescription.Builder
avoiding the need to create one manually via ScaleOutPolicyDescription.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to scaleOutPolicy(ScaleOutPolicyDescription).
scaleOutPolicy - a consumer that will call methods on ScaleOutPolicyDescription.BuilderscaleOutPolicy(ScaleOutPolicyDescription)Copyright © 2023. All rights reserved.