public Resource withStatusMessage(String statusMessage) {
        setStatusMessage(statusMessage);
        return this;
    }
<p>
A message about the status of the resource.
</p>

@param statusMessage
       A message about the status of the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/Resource.java