public Endpoint withEndpointStatus(String endpointStatus) {
        setEndpointStatus(endpointStatus);
        return this;
    }
<p>
The status of the endpoint.
</p>

@param endpointStatus
       The status of the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
@see EndpointStatus
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/Endpoint.java