public Replication withFailureMessages(java.util.Collection<String> failureMessages) {
        setFailureMessages(failureMessages);
        return this;
    }
<p>
Error and other information about why a serverless replication failed.
</p>

@param failureMessages
       Error and other information about why a serverless replication failed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/Replication.java