Interface AutoScalingDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutoScalingDescription.Builder,AutoScalingDescription>,SdkBuilder<AutoScalingDescription.Builder,AutoScalingDescription>,SdkPojo
- Enclosing class:
- AutoScalingDescription
public static interface AutoScalingDescription.Builder extends SdkPojo, CopyableBuilder<AutoScalingDescription.Builder,AutoScalingDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutoScalingDescription.BuildermaxWorkerCount(Integer maxWorkerCount)The maximum number of workers allocated to the connector.AutoScalingDescription.BuildermcuCount(Integer mcuCount)The number of microcontroller units (MCUs) allocated to each connector worker.AutoScalingDescription.BuilderminWorkerCount(Integer minWorkerCount)The minimum number of workers allocated to the connector.default AutoScalingDescription.BuilderscaleInPolicy(Consumer<ScaleInPolicyDescription.Builder> scaleInPolicy)The sacle-in policy for the connector.AutoScalingDescription.BuilderscaleInPolicy(ScaleInPolicyDescription scaleInPolicy)The sacle-in policy for the connector.default AutoScalingDescription.BuilderscaleOutPolicy(Consumer<ScaleOutPolicyDescription.Builder> scaleOutPolicy)The sacle-out policy for the connector.>AutoScalingDescription.BuilderscaleOutPolicy(ScaleOutPolicyDescription 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
AutoScalingDescription.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
AutoScalingDescription.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
AutoScalingDescription.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
AutoScalingDescription.Builder scaleInPolicy(ScaleInPolicyDescription 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 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.Builderavoiding the need to create one manually viaScaleInPolicyDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscaleInPolicy(ScaleInPolicyDescription).- Parameters:
scaleInPolicy- a consumer that will call methods onScaleInPolicyDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scaleInPolicy(ScaleInPolicyDescription)
-
scaleOutPolicy
AutoScalingDescription.Builder scaleOutPolicy(ScaleOutPolicyDescription 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 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.Builderavoiding the need to create one manually viaScaleOutPolicyDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscaleOutPolicy(ScaleOutPolicyDescription).- Parameters:
scaleOutPolicy- a consumer that will call methods onScaleOutPolicyDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scaleOutPolicy(ScaleOutPolicyDescription)
-
-