Interface PutScalingPolicyResponse.Builder

All Superinterfaces:
ApplicationAutoScalingResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<PutScalingPolicyResponse.Builder,PutScalingPolicyResponse>, SdkBuilder<PutScalingPolicyResponse.Builder,PutScalingPolicyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
PutScalingPolicyResponse

  • Method Details

    • policyARN

      The Amazon Resource Name (ARN) of the resulting scaling policy.

      Parameters:
      policyARN - The Amazon Resource Name (ARN) of the resulting 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.

      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: