CopyableBuilder<PutScalingPolicyResponse.Builder,PutScalingPolicyResponse>, SdkBuilder<PutScalingPolicyResponse.Builder,PutScalingPolicyResponse>public static interface PutScalingPolicyResponse.Builder extends CopyableBuilder<PutScalingPolicyResponse.Builder,PutScalingPolicyResponse>
| Modifier and Type | Method | Description |
|---|---|---|
PutScalingPolicyResponse.Builder |
alarms(Collection<Alarm> alarms) |
The CloudWatch alarms created for the target tracking policy.
|
PutScalingPolicyResponse.Builder |
alarms(Alarm... alarms) |
The CloudWatch alarms created for the target tracking policy.
|
PutScalingPolicyResponse.Builder |
policyARN(String policyARN) |
The Amazon Resource Name (ARN) of the resulting scaling policy.
|
copyapply, 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 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.
NOTE: This method appends the values to the existing list (if any). Use
#setAlarms(java.util.Collection) or #withAlarms(java.util.Collection) if you want to override
the existing values.
alarms - The CloudWatch alarms created for the target tracking policy.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.