public InvokeEndpointAsyncRequest withEndpointName(String endpointName) {
        setEndpointName(endpointName);
        return this;
    }
<p>
The name of the endpoint that you specified when you created the endpoint using the <a
href="https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html">CreateEndpoint</a> API.
</p>

@param endpointName
       The name of the endpoint that you specified when you created the endpoint using the <a
       href="https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html">CreateEndpoint</a> API.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemakerruntime/src/main/java/com/amazonaws/services/sagemakerruntime/model/InvokeEndpointAsyncRequest.java