public PutScalingPolicyResult withAlarms(java.util.Collection<Alarm> alarms) {
        setAlarms(alarms);
        return this;
    }
<p>
The CloudWatch alarms created for the target tracking scaling policy.
</p>

@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.
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/PutScalingPolicyResult.java