public CreateScalingPlanRequest withApplicationSource(ApplicationSource applicationSource) {
        setApplicationSource(applicationSource);
        return this;
    }
<p>
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html"
>ApplicationSource</a> in the <i>AWS Auto Scaling API Reference</i>.
</p>

@param applicationSource
       A CloudFormation stack or set of tags. You can create one scaling plan per application source.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html"
       >ApplicationSource</a> in the <i>AWS Auto Scaling API Reference</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscalingplans/src/main/java/com/amazonaws/services/autoscalingplans/model/CreateScalingPlanRequest.java