public ModelClientConfig withInvocationsMaxRetries(Integer invocationsMaxRetries) {
        setInvocationsMaxRetries(invocationsMaxRetries);
        return this;
    }
<p>
The maximum number of retries when invocation requests are failing. The default value is 3.
</p>

@param invocationsMaxRetries
       The maximum number of retries when invocation requests are failing. The default value is 3.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelClientConfig.java