public void setFailOnWarnings(Boolean failOnWarnings) {
        this.failOnWarnings = failOnWarnings;
    }
<p>
A query parameter to indicate whether to rollback ApiKey importation (<code>true</code>) or not (
<code>false</code>) when error is encountered.
</p>

@param failOnWarnings
       A query parameter to indicate whether to rollback ApiKey importation (<code>true</code>) or not (
       <code>false</code>) when error is encountered.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/ImportApiKeysRequest.java