public void setBinaryMediaTypes(java.util.Collection<String> binaryMediaTypes) {
        if (binaryMediaTypes == null) {
            this.binaryMediaTypes = null;
            return;
        }

        this.binaryMediaTypes = new java.util.ArrayList<String>(binaryMediaTypes);
    }
<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.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/CreateRestApiRequest.java