Interface AutoScalingSettingsUpdate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>, SdkBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>, SdkPojo
Enclosing class:
AutoScalingSettingsUpdate

public static interface AutoScalingSettingsUpdate.Builder extends SdkPojo, CopyableBuilder<AutoScalingSettingsUpdate.Builder,AutoScalingSettingsUpdate>
  • Method Details

    • minimumUnits

      AutoScalingSettingsUpdate.Builder minimumUnits(Long minimumUnits)

      The minimum capacity units that a global table or global secondary index should be scaled down to.

      Parameters:
      minimumUnits - The minimum capacity units that a global table or global secondary index should be scaled down to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximumUnits

      AutoScalingSettingsUpdate.Builder maximumUnits(Long maximumUnits)

      The maximum capacity units that a global table or global secondary index should be scaled up to.

      Parameters:
      maximumUnits - The maximum capacity units that a global table or global secondary index should be scaled up to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingDisabled

      AutoScalingSettingsUpdate.Builder autoScalingDisabled(Boolean autoScalingDisabled)

      Disabled auto scaling for this global table or global secondary index.

      Parameters:
      autoScalingDisabled - Disabled auto scaling for this global table or global secondary index.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingRoleArn

      AutoScalingSettingsUpdate.Builder autoScalingRoleArn(String autoScalingRoleArn)

      Role ARN used for configuring auto scaling policy.

      Parameters:
      autoScalingRoleArn - Role ARN used for configuring auto scaling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingPolicyUpdate

      AutoScalingSettingsUpdate.Builder scalingPolicyUpdate(AutoScalingPolicyUpdate scalingPolicyUpdate)

      The scaling policy to apply for scaling target global table or global secondary index capacity units.

      Parameters:
      scalingPolicyUpdate - The scaling policy to apply for scaling target global table or global secondary index capacity units.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingPolicyUpdate

      default AutoScalingSettingsUpdate.Builder scalingPolicyUpdate(Consumer<AutoScalingPolicyUpdate.Builder> scalingPolicyUpdate)

      The scaling policy to apply for scaling target global table or global secondary index capacity units.

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

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

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