public InferenceSpecification withSupportedContentTypes(java.util.Collection<String> supportedContentTypes) {
        setSupportedContentTypes(supportedContentTypes);
        return this;
    }
<p>
The supported MIME types for the input data.
</p>

@param supportedContentTypes
       The supported MIME types for the input data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/InferenceSpecification.java