public void setMaxAttempts(Integer maxAttempts) {
        this.maxAttempts = maxAttempts;
    }
<p>
The maximum number of attempts on the job's driver.
</p>

@param maxAttempts
       The maximum number of attempts on the job's driver.
aws-java-sdk-emrcontainers/src/main/java/com/amazonaws/services/emrcontainers/model/RetryPolicyConfiguration.java