public ModelDashboardEndpoint withEndpointName(String endpointName) {
        setEndpointName(endpointName);
        return this;
    }
<p>
The endpoint name.
</p>

@param endpointName
       The endpoint name.
@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/ModelDashboardEndpoint.java