public TestConnectionResult withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
Returns <code>OK</code> for successful test, or <code>ERROR</code> if the test fails.
</p>

@param status
       Returns <code>OK</code> for successful test, or <code>ERROR</code> if the test fails.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/TestConnectionResult.java