public RequestCertificateRequest withDomainValidationOptions(DomainValidationOption... domainValidationOptions) {
        if (this.domainValidationOptions == null) {
            setDomainValidationOptions(new java.util.ArrayList<DomainValidationOption>(domainValidationOptions.length));
        }
        for (DomainValidationOption ele : domainValidationOptions) {
            this.domainValidationOptions.add(ele);
        }
        return this;
    }
<p>
The domain name that you want ACM to use to send you emails so that you can validate domain ownership.
</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
       The domain name that you want ACM to use to send you emails so that you can validate domain ownership.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-acm/src/main/java/com/amazonaws/services/certificatemanager/model/RequestCertificateRequest.java