Interface AutoScaling.Builder

    • Method Detail

      • maxWorkerCount

        AutoScaling.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

        AutoScaling.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

        AutoScaling.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

        AutoScaling.Builder scaleInPolicy​(ScaleInPolicy 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.
      • scaleOutPolicy

        AutoScaling.Builder scaleOutPolicy​(ScaleOutPolicy 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.