public static interface PutScalingPolicyResponse.Builder extends ApplicationAutoScalingResponse.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 resulting scaling policy.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutScalingPolicyResponse.Builder policyARN(String policyARN)
The Amazon Resource Name (ARN) of the resulting scaling policy.
policyARN - The Amazon Resource Name (ARN) of the resulting scaling 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 © 2023. All rights reserved.