public String getStatusMessage() {
        return this.statusMessage;
    }
<p>
Returns <code>Connection succeeded</code> if the test is successful. Or, returns a descriptive error message if
the test fails. The following list provides troubleshooting details, depending on the error message that you
receive.
</p>
<ul>
<li>
<p>
Verify that your secret name aligns with the one in Transfer Role permissions.
</p>
</li>
<li>
<p>
Verify the server URL in the connector configuration , and verify that the login credentials work successfully
outside of the connector.
</p>
</li>
<li>
<p>
Verify that the secret exists and is formatted correctly.
</p>
</li>
<li>
<p>
Verify that the trusted host key in the connector configuration matches the <code>ssh-keyscan</code> output.
</p>
</li>
</ul>

@return Returns <code>Connection succeeded</code> if the test is successful. Or, returns a descriptive error
        message if the test fails. The following list provides troubleshooting details, depending on the error
        message that you receive.</p>
        <ul>
        <li>
        <p>
        Verify that your secret name aligns with the one in Transfer Role permissions.
        </p>
        </li>
        <li>
        <p>
        Verify the server URL in the connector configuration , and verify that the login credentials work
        successfully outside of the connector.
        </p>
        </li>
        <li>
        <p>
        Verify that the secret exists and is formatted correctly.
        </p>
        </li>
        <li>
        <p>
        Verify that the trusted host key in the connector configuration matches the <code>ssh-keyscan</code>
        output.
        </p>
        </li>
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/TestConnectionResult.java