public Boolean getApiKeyRequired() {
        return this.apiKeyRequired;
    }
<p>
A boolean flag specifying whether a valid ApiKey is required to invoke this method.
</p>

@return A boolean flag specifying whether a valid ApiKey is required to invoke this method.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/GetMethodResult.java