public static interface PutScalingPolicyResponse.Builder extends AutoScalingResponse.Builder, CopyableBuilder<PutScalingPolicyResponse.Builder,PutScalingPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
PutScalingPolicyResponse.Builder |
alarms(Alarm... alarms)
The CloudWatch alarms created for the target tracking policy.
|
PutScalingPolicyResponse.Builder |
alarms(Collection<Alarm> alarms)
The CloudWatch alarms created for the target tracking policy.
|
PutScalingPolicyResponse.Builder |
alarms(Consumer<Alarm.Builder>... alarms)
The CloudWatch alarms created for the target tracking policy.
|
PutScalingPolicyResponse.Builder |
policyARN(String policyARN)
The Amazon Resource Name (ARN) of the policy.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, 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 policy.
alarms - The CloudWatch alarms created for the target tracking policy.PutScalingPolicyResponse.Builder alarms(Alarm... alarms)
The CloudWatch alarms created for the target tracking policy.
alarms - The CloudWatch alarms created for the target tracking policy.PutScalingPolicyResponse.Builder alarms(Consumer<Alarm.Builder>... alarms)
The CloudWatch alarms created for the target tracking policy.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #alarms(List) .alarms - a consumer that will call methods on List.Builder #alarms(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.