Interface PutScalingPolicyResponse.Builder

  • Method Details

    • policyARN

      The Amazon Resource Name (ARN) of the policy.

      Parameters:
      policyARN - The Amazon Resource Name (ARN) of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarms

      The CloudWatch alarms created for the target tracking scaling policy.

      Parameters:
      alarms - The CloudWatch alarms created for the target tracking scaling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarms

      The CloudWatch alarms created for the target tracking scaling policy.

      Parameters:
      alarms - The CloudWatch alarms created for the target tracking scaling policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alarms

      The CloudWatch alarms created for the target tracking scaling policy.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to alarms(List<Alarm>).

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