public Boolean isFailOnWarnings() {
        return this.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>

@return 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