public void setRequestParameters(java.util.Map<String, Boolean> requestParameters) {
        this.requestParameters = requestParameters;
    }
<p>
A key-value map defining required or optional method request parameters that can be accepted by API Gateway. A
key is a method request parameter name matching the pattern of <code>method.request.{location}.{name}</code>,
where <code>location</code> is <code>querystring</code>, <code>path</code>, or <code>header</code> and
<code>name</code> is a valid and unique parameter name. The value associated with the key is a Boolean flag
indicating whether the parameter is required (<code>true</code>) or optional (<code>false</code>). The method
request parameter names defined here are available in Integration to be mapped to integration request parameters
or templates.
</p>

@param requestParameters
       A key-value map defining required or optional method request parameters that can be accepted by API
       Gateway. A key is a method request parameter name matching the pattern of
       <code>method.request.{location}.{name}</code>, where <code>location</code> is <code>querystring</code>,
       <code>path</code>, or <code>header</code> and <code>name</code> is a valid and unique parameter name. The
       value associated with the key is a Boolean flag indicating whether the parameter is required (
       <code>true</code>) or optional (<code>false</code>). The method request parameter names defined here are
       available in Integration to be mapped to integration request parameters or templates.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/GetMethodResult.java