public DescribeCertificatesResult withCertificates(Certificate... certificates) {
        if (this.certificates == null) {
            setCertificates(new java.util.ArrayList<Certificate>(certificates.length));
        }
        for (Certificate ele : certificates) {
            this.certificates.add(ele);
        }
        return this;
    }
<p>
A list of certificates for this Amazon Web Services account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCertificates(java.util.Collection)} or {@link #withCertificates(java.util.Collection)} if you want to
override the existing values.
</p>

@param certificates
       A list of certificates for this Amazon Web Services account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/DescribeCertificatesResult.java