public void setApiGatewayType(ApiType apiGatewayType) {
        this.apiGatewayType = Objects.requireNonNull(apiGatewayType);
    }
Sets the type of API Gateway API to generate.

<p>If not set, this value defaults to a "REST" API.

@param apiGatewayType API type to set.
smithy-aws-apigateway-openapi/src/main/java/software/amazon/smithy/aws/apigateway/openapi/ApiGatewayConfig.java