code: public Branch withCustomDomains(String... customDomains) {
          if (this.customDomains == null) {
              setCustomDomains(new java.util.ArrayList<String>(customDomains.length));
          }
          for (String ele : customDomains) {
              this.customDomains.add(ele);
          }
          return this;
      }
docs: <p>
  Custom domains for a branch, part of an Amplify App.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCustomDomains(java.util.Collection)} or {@link #withCustomDomains(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param customDomains
  Custom domains for a branch, part of an Amplify App.
  @return Returns a reference to this object so that method calls can be chained together.