public ImportRestApiResult withBinaryMediaTypes(java.util.Collection<String> binaryMediaTypes) {
        setBinaryMediaTypes(binaryMediaTypes);
        return this;
    }
<p>
The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text
payloads.
</p>

@param binaryMediaTypes
       The list of binary media types supported by the RestApi. By default, the RestApi supports only
       UTF-8-encoded text payloads.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/ImportRestApiResult.java