public DescribedCertificate withStatus(CertificateStatusType status) {
        this.status = status.toString();
        return this;
    }
<p>
The certificate can be either <code>ACTIVE</code>, <code>PENDING_ROTATION</code>, or <code>INACTIVE</code>.
<code>PENDING_ROTATION</code> means that this certificate will replace the current certificate when it expires.
</p>

@param status
       The certificate can be either <code>ACTIVE</code>, <code>PENDING_ROTATION</code>, or <code>INACTIVE</code>
       . <code>PENDING_ROTATION</code> means that this certificate will replace the current certificate when it
       expires.
@return Returns a reference to this object so that method calls can be chained together.
@see CertificateStatusType
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/DescribedCertificate.java