* The Amazon Resource Name (ARN) of the resulting scaling policy. *
*/ private String policyARN; /** ** The CloudWatch alarms created for the target tracking scaling policy. *
*/ private java.util.List* The Amazon Resource Name (ARN) of the resulting scaling policy. *
* * @param policyARN * The Amazon Resource Name (ARN) of the resulting scaling policy. */ public void setPolicyARN(String policyARN) { this.policyARN = policyARN; } /** ** The Amazon Resource Name (ARN) of the resulting scaling policy. *
* * @return The Amazon Resource Name (ARN) of the resulting scaling policy. */ public String getPolicyARN() { return this.policyARN; } /** ** The Amazon Resource Name (ARN) of the resulting scaling policy. *
* * @param policyARN * The Amazon Resource Name (ARN) of the resulting scaling policy. * @return Returns a reference to this object so that method calls can be chained together. */ public PutScalingPolicyResult withPolicyARN(String policyARN) { setPolicyARN(policyARN); return this; } /** ** The CloudWatch alarms created for the target tracking scaling policy. *
* * @return The CloudWatch alarms created for the target tracking scaling policy. */ public java.util.List* The CloudWatch alarms created for the target tracking scaling policy. *
* * @param alarms * The CloudWatch alarms created for the target tracking scaling policy. */ public void setAlarms(java.util.Collection* The CloudWatch alarms created for the target tracking scaling policy. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAlarms(java.util.Collection)} or {@link #withAlarms(java.util.Collection)} if you want to override the * existing values. *
* * @param alarms * The CloudWatch alarms created for the target tracking scaling policy. * @return Returns a reference to this object so that method calls can be chained together. */ public PutScalingPolicyResult withAlarms(Alarm... alarms) { if (this.alarms == null) { setAlarms(new java.util.ArrayList* The CloudWatch alarms created for the target tracking scaling policy. *
* * @param alarms * The CloudWatch alarms created for the target tracking scaling policy. * @return Returns a reference to this object so that method calls can be chained together. */ public PutScalingPolicyResult withAlarms(java.util.Collection