public CreateAssociationRequest withMaxErrors(String maxErrors) {
        setMaxErrors(maxErrors);
        return this;
    }
<p>
The number of errors that are allowed before the system stops sending requests to run the association on
additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the
target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth
error is received. If you specify 0, then the system stops sending requests after the first error is returned. If
you run an association on 50 managed nodes and set <code>MaxError</code> to 10%, then the system stops sending
the request when the sixth error is received.
</p>
<p>
Executions that are already running an association when <code>MaxErrors</code> is reached are allowed to
complete, but some of these executions may fail as well. If you need to ensure that there won't be more than
max-errors failed executions, set <code>MaxConcurrency</code> to 1 so that executions proceed one at a time.
</p>

@param maxErrors
       The number of errors that are allowed before the system stops sending requests to run the association on
       additional targets. You can specify either an absolute number of errors, for example 10, or a percentage
       of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when
       the fourth error is received. If you specify 0, then the system stops sending requests after the first
       error is returned. If you run an association on 50 managed nodes and set <code>MaxError</code> to 10%,
       then the system stops sending the request when the sixth error is received.</p>
       <p>
       Executions that are already running an association when <code>MaxErrors</code> is reached are allowed to
       complete, but some of these executions may fail as well. If you need to ensure that there won't be more
       than max-errors failed executions, set <code>MaxConcurrency</code> to 1 so that executions proceed one at
       a time.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/CreateAssociationRequest.java