public void setAlarms(java.util.Collection<Alarm> alarms) {
        if (alarms == null) {
            this.alarms = null;
            return;
        }

        this.alarms = new java.util.ArrayList<Alarm>(alarms);
    }
<p>
The CloudWatch alarms created for the target tracking scaling policy.
</p>

@param alarms
       The CloudWatch alarms created for the target tracking scaling policy.
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/PutScalingPolicyResult.java