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