public void setLastFailureMessage(String lastFailureMessage) {
        this.lastFailureMessage = lastFailureMessage;
    }
<p>
The error message when the connection last failed.
</p>

@param lastFailureMessage
       The error message when the connection last failed.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/Connection.java