Interface AutoScalingUpdate.Builder

  • Method Details

    • 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 scale-in policy for the connector.

      Parameters:
      scaleInPolicy - The target scale-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 scale-in policy for the connector.

      This is a convenience method that creates an instance of the ScaleInPolicyUpdate.Builder avoiding the need to create one manually via ScaleInPolicyUpdate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scaleInPolicy(ScaleInPolicyUpdate).

      Parameters:
      scaleInPolicy - a consumer that will call methods on ScaleInPolicyUpdate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scaleOutPolicy

      AutoScalingUpdate.Builder scaleOutPolicy(ScaleOutPolicyUpdate scaleOutPolicy)

      The target scale-out policy for the connector.

      Parameters:
      scaleOutPolicy - The target scale-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 scale-out policy for the connector.

      This is a convenience method that creates an instance of the ScaleOutPolicyUpdate.Builder avoiding the need to create one manually via ScaleOutPolicyUpdate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scaleOutPolicy(ScaleOutPolicyUpdate).

      Parameters:
      scaleOutPolicy - a consumer that will call methods on ScaleOutPolicyUpdate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxAutoscalingTaskCount

      AutoScalingUpdate.Builder maxAutoscalingTaskCount(Integer maxAutoscalingTaskCount)

      The maximum number of tasks allocated to the connector during autoscaling operations. Must be at least equal to maxWorkerCount.

      Parameters:
      maxAutoscalingTaskCount - The maximum number of tasks allocated to the connector during autoscaling operations. Must be at least equal to maxWorkerCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.