public CreateCertificateFromCsrRequest withSetAsActive(Boolean setAsActive) {
        setSetAsActive(setAsActive);
        return this;
    }
<p>
Specifies whether the certificate is active.
</p>

@param setAsActive
       Specifies whether the certificate is active.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreateCertificateFromCsrRequest.java