public void setInvocationsMaxRetries(Integer invocationsMaxRetries) {
        this.invocationsMaxRetries = invocationsMaxRetries;
    }
<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.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelClientConfig.java