public Boolean getApiKeyRequired() {
        return this.apiKeyRequired;
    }
<p>
Specifies whether an API key is required for this route. Supported only for WebSocket APIs.
</p>

@return Specifies whether an API key is required for this route. Supported only for WebSocket APIs.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/Route.java