public CreateEndpointConfigRequest withAsyncInferenceConfig(AsyncInferenceConfig asyncInferenceConfig) {
        setAsyncInferenceConfig(asyncInferenceConfig);
        return this;
    }
<p>
Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order
for your Endpoint to be invoked using <a
href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpointAsync.html"
>InvokeEndpointAsync</a>.
</p>

@param asyncInferenceConfig
       Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in
       order for your Endpoint to be invoked using <a
       href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpointAsync.html"
       >InvokeEndpointAsync</a>.
@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/CreateEndpointConfigRequest.java