public InvokeModelResult withContentType(String contentType) {
        setContentType(contentType);
        return this;
    }
<p>
The MIME type of the inference result.
</p>

@param contentType
       The MIME type of the inference result.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockruntime/src/main/java/com/amazonaws/services/bedrockruntime/model/InvokeModelResult.java