public ListCertificatesRequest withCertificateStatuses(String... certificateStatuses) {
        if (this.certificateStatuses == null) {
            setCertificateStatuses(new java.util.ArrayList<String>(certificateStatuses.length));
        }
        for (String ele : certificateStatuses) {
            this.certificateStatuses.add(ele);
        }
        return this;
    }
<p>
Filter the certificate list by status value.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCertificateStatuses(java.util.Collection)} or {@link #withCertificateStatuses(java.util.Collection)}
if you want to override the existing values.
</p>

@param certificateStatuses
       Filter the certificate list by status value.
@return Returns a reference to this object so that method calls can be chained together.
@see CertificateStatus
aws-java-sdk-acm/src/main/java/com/amazonaws/services/certificatemanager/model/ListCertificatesRequest.java