public MonitorErrorDetails withMessage(String message) {
        setMessage(message);
        return this;
    }
<p>
The error message.
</p>

@param message
       The error message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/MonitorErrorDetails.java