public ListCertificatesRequest withCertificateStatuses(CertificateStatus... certificateStatuses) {
        java.util.ArrayList<String> certificateStatusesCopy = new java.util.ArrayList<String>(certificateStatuses.length);
        for (CertificateStatus value : certificateStatuses) {
            certificateStatusesCopy.add(value.toString());
        }
        if (getCertificateStatuses() == null) {
            setCertificateStatuses(certificateStatusesCopy);
        } else {
            getCertificateStatuses().addAll(certificateStatusesCopy);
        }
        return this;
    }
<p>
Filter the certificate list by status value.
</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