public void setFailOnWarnings(Boolean failOnWarnings) {
        this.failOnWarnings = failOnWarnings;
    }
<p>
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues
if a warning is encountered.
</p>

@param failOnWarnings
       Specifies whether to rollback the API creation when a warning is encountered. By default, API creation
       continues if a warning is encountered.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/ImportApiRequest.java