code: public ComposeEnvironmentsRequest withVersionLabels(String... versionLabels) {
          if (this.versionLabels == null) {
              setVersionLabels(new com.amazonaws.internal.SdkInternalList<String>(versionLabels.length));
          }
          for (String ele : versionLabels) {
              this.versionLabels.add(ele);
          }
          return this;
      }
docs: <p>
  A list of version labels, specifying one or more application source bundles that belong to the target
  application. Each source bundle must include an environment manifest that specifies the name of the environment
  and the name of the solution stack to use, and optionally can specify environment links to create.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setVersionLabels(java.util.Collection)} or {@link #withVersionLabels(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param versionLabels
  A list of version labels, specifying one or more application source bundles that belong to the target
  application. Each source bundle must include an environment manifest that specifies the name of the
  environment and the name of the solution stack to use, and optionally can specify environment links to
  create.
  @return Returns a reference to this object so that method calls can be chained together.