public static interface PutScalingPolicyResponse.Builder extends AutoScalingResponse.Builder, SdkPojo, CopyableBuilder<PutScalingPolicyResponse.Builder,PutScalingPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
PutScalingPolicyResponse.Builder |
alarms(Alarm... alarms)
The CloudWatch alarms created for the target tracking scaling policy.
|
PutScalingPolicyResponse.Builder |
alarms(Collection<Alarm> alarms)
The CloudWatch alarms created for the target tracking scaling policy.
|
PutScalingPolicyResponse.Builder |
alarms(Consumer<Alarm.Builder>... alarms)
The CloudWatch alarms created for the target tracking scaling policy.
|
PutScalingPolicyResponse.Builder |
policyARN(String policyARN)
The Amazon Resource Name (ARN) of the policy.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutScalingPolicyResponse.Builder policyARN(String policyARN)
The Amazon Resource Name (ARN) of the policy.
policyARN - The Amazon Resource Name (ARN) of the policy.PutScalingPolicyResponse.Builder alarms(Collection<Alarm> alarms)
The CloudWatch alarms created for the target tracking scaling policy.
alarms - The CloudWatch alarms created for the target tracking scaling policy.PutScalingPolicyResponse.Builder alarms(Alarm... alarms)
The CloudWatch alarms created for the target tracking scaling policy.
alarms - The CloudWatch alarms created for the target tracking scaling policy.PutScalingPolicyResponse.Builder alarms(Consumer<Alarm.Builder>... alarms)
The CloudWatch alarms created for the target tracking scaling policy.
This is a convenience method that creates an instance of theAlarm.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.
alarms - a consumer that will call methods on
Alarm.Builder#alarms(java.util.Collection) Copyright © 2022. All rights reserved.