code: public void setBinaryMediaTypes(java.util.Collection<String> binaryMediaTypes) {
          if (binaryMediaTypes == null) {
              this.binaryMediaTypes = null;
              return;
          }
  
          this.binaryMediaTypes = new java.util.ArrayList<String>(binaryMediaTypes);
      }
docs: <p>
  The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
  UTF-8-encoded text payloads.
  </p>
  
  @param binaryMediaTypes
  The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
  only UTF-8-encoded text payloads.