Interface ManagedScalingPolicy.Builder

  • Method Details

    • computeLimits

      ManagedScalingPolicy.Builder computeLimits(ComputeLimits computeLimits)

      The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

      Parameters:
      computeLimits - The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeLimits

      default ManagedScalingPolicy.Builder computeLimits(Consumer<ComputeLimits.Builder> computeLimits)

      The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

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

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

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

      ManagedScalingPolicy.Builder utilizationPerformanceIndex(Integer utilizationPerformanceIndex)

      An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.

      Parameters:
      utilizationPerformanceIndex - An integer value that represents an advanced scaling strategy. Setting a higher value optimizes for performance. Setting a lower value optimizes for resource conservation. Setting the value to 50 balances performance and resource conservation. Possible values are 1, 25, 50, 75, and 100.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingStrategy

      ManagedScalingPolicy.Builder scalingStrategy(String scalingStrategy)

      Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.

      Parameters:
      scalingStrategy - Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scalingStrategy

      ManagedScalingPolicy.Builder scalingStrategy(ScalingStrategy scalingStrategy)

      Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.

      Parameters:
      scalingStrategy - Determines whether a custom scaling utilization performance index can be set. Possible values include ADVANCED or DEFAULT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: