code: public CreateInstanceProfileRequest withExcludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup) {
          if (this.excludeAppPackagesFromCleanup == null) {
              setExcludeAppPackagesFromCleanup(new java.util.ArrayList<String>(excludeAppPackagesFromCleanup.length));
          }
          for (String ele : excludeAppPackagesFromCleanup) {
              this.excludeAppPackagesFromCleanup.add(ele);
          }
          return this;
      }
docs: <p>
  An array of strings specifying the list of app packages that should not be cleaned up from the device after a
  test run is over.
  </p>
  <p>
  The list of packages is only considered if you set <code>packageCleanup</code> to <code>true</code>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setExcludeAppPackagesFromCleanup(java.util.Collection)} or
  {@link #withExcludeAppPackagesFromCleanup(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param excludeAppPackagesFromCleanup
  An array of strings specifying the list of app packages that should not be cleaned up from the device
  after a test run is over.</p>
  <p>
  The list of packages is only considered if you set <code>packageCleanup</code> to <code>true</code>.
  @return Returns a reference to this object so that method calls can be chained together.