code: public Cluster withApplications(Application... applications) {
          if (this.applications == null) {
              setApplications(new com.amazonaws.internal.SdkInternalList<Application>(applications.length));
          }
          for (Application ele : applications) {
              this.applications.add(ele);
          }
          return this;
      }
docs: <p>
  The applications installed on this cluster.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setApplications(java.util.Collection)} or {@link #withApplications(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param applications
  The applications installed on this cluster.
  @return Returns a reference to this object so that method calls can be chained together.