code: public ListDomainAssociationsResult withDomainAssociations(DomainAssociation... domainAssociations) {
          if (this.domainAssociations == null) {
              setDomainAssociations(new java.util.ArrayList<DomainAssociation>(domainAssociations.length));
          }
          for (DomainAssociation ele : domainAssociations) {
              this.domainAssociations.add(ele);
          }
          return this;
      }
docs: <p>
  List of Domain Associations.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDomainAssociations(java.util.Collection)} or {@link #withDomainAssociations(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param domainAssociations
  List of Domain Associations.
  @return Returns a reference to this object so that method calls can be chained together.