public BatchPutMessageErrorEntry withErrorMessage(String errorMessage) {
        setErrorMessage(errorMessage);
        return this;
    }
<p>
A message that describes the error.
</p>

@param errorMessage
       A message that describes the error.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ioteventsdata/src/main/java/com/amazonaws/services/ioteventsdata/model/BatchPutMessageErrorEntry.java