public Certificate withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The status of the certificate.
</p>
<p>
The status value REGISTER_INACTIVE is deprecated and should not be used.
</p>

@param status
       The status of the certificate.</p>
       <p>
       The status value REGISTER_INACTIVE is deprecated and should not be used.
@return Returns a reference to this object so that method calls can be chained together.
@see CertificateStatus
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/Certificate.java