All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.serving.ServingEndpointsDataPlaneAPI Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.serving;

import com.databricks.sdk.core.ApiClient;
import com.databricks.sdk.support.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Serving endpoints DataPlane provides a set of operations to interact with data plane endpoints
 * for Serving endpoints service.
 */
@Generated
public class ServingEndpointsDataPlaneAPI {
  private static final Logger LOG = LoggerFactory.getLogger(ServingEndpointsDataPlaneAPI.class);

  private final ServingEndpointsDataPlaneService impl;

  /** Regular-use constructor */
  public ServingEndpointsDataPlaneAPI(ApiClient apiClient) {
    impl = new ServingEndpointsDataPlaneImpl(apiClient);
  }

  /** Constructor for mocks */
  public ServingEndpointsDataPlaneAPI(ServingEndpointsDataPlaneService mock) {
    impl = mock;
  }

  public QueryEndpointResponse query(String name) {
    return query(new QueryEndpointInput().setName(name));
  }

  /** Query a serving endpoint. */
  public QueryEndpointResponse query(QueryEndpointInput request) {
    return impl.query(request);
  }

  public ServingEndpointsDataPlaneService impl() {
    return impl;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy