public GetLabelDetectionResult withStatusMessage(String statusMessage) {
        setStatusMessage(statusMessage);
        return this;
    }
<p>
If the job fails, <code>StatusMessage</code> provides a descriptive error message.
</p>

@param statusMessage
       If the job fails, <code>StatusMessage</code> provides a descriptive error message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/GetLabelDetectionResult.java