code: public CertificateDetail withDomainValidationOptions(DomainValidation... domainValidationOptions) {
          if (this.domainValidationOptions == null) {
              setDomainValidationOptions(new java.util.ArrayList<DomainValidation>(domainValidationOptions.length));
          }
          for (DomainValidation ele : domainValidationOptions) {
              this.domainValidationOptions.add(ele);
          }
          return this;
      }
docs: <p>
  Contains information about the initial validation of each domain name that occurs as a result of the
  <a>RequestCertificate</a> request. This field exists only when the certificate type is <code>AMAZON_ISSUED</code>
  .
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDomainValidationOptions(java.util.Collection)} or
  {@link #withDomainValidationOptions(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param domainValidationOptions
  Contains information about the initial validation of each domain name that occurs as a result of the
  <a>RequestCertificate</a> request. This field exists only when the certificate type is
  <code>AMAZON_ISSUED</code>.
  @return Returns a reference to this object so that method calls can be chained together.