code: public DescribeScalingPlansRequest withApplicationSources(ApplicationSource... applicationSources) {
          if (this.applicationSources == null) {
              setApplicationSources(new java.util.ArrayList<ApplicationSource>(applicationSources.length));
          }
          for (ApplicationSource ele : applicationSources) {
              this.applicationSources.add(ele);
          }
          return this;
      }
docs: <p>
  The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application
  sources.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setApplicationSources(java.util.Collection)} or {@link #withApplicationSources(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param applicationSources
  The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify
  application sources.
  @return Returns a reference to this object so that method calls can be chained together.