public DirectoryRegistration withStatusReason(String statusReason) {
        setStatusReason(statusReason);
        return this;
    }
<p>
Additional information about the directory registration status if the status is failed.
</p>

@param statusReason
       Additional information about the directory registration status if the status is failed.
@return Returns a reference to this object so that method calls can be chained together.
@see DirectoryRegistrationStatusReason
aws-java-sdk-pcaconnectorad/src/main/java/com/amazonaws/services/pcaconnectorad/model/DirectoryRegistration.java