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

com.databricks.sdk.service.provisioning.VpcEndpointsAPI 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.provisioning;

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

/** These APIs manage VPC endpoint configurations for this account. */
@Generated
public class VpcEndpointsAPI {
  private static final Logger LOG = LoggerFactory.getLogger(VpcEndpointsAPI.class);

  private final VpcEndpointsService impl;

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

  /** Constructor for mocks */
  public VpcEndpointsAPI(VpcEndpointsService mock) {
    impl = mock;
  }

  public VpcEndpoint create(String vpcEndpointName) {
    return create(new CreateVpcEndpointRequest().setVpcEndpointName(vpcEndpointName));
  }

  /**
   * Create VPC endpoint configuration.
   *
   * 

Creates a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used * to communicate privately with Databricks over [AWS PrivateLink]. * *

After you create the VPC endpoint configuration, the Databricks [endpoint service] * automatically accepts the VPC endpoint. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. * *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [Databricks article about * PrivateLink]: * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html [VPC * endpoint]: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html [endpoint * service]: * https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-share-your-services.html */ public VpcEndpoint create(CreateVpcEndpointRequest request) { return impl.create(request); } public void delete(String vpcEndpointId) { delete(new DeleteVpcEndpointRequest().setVpcEndpointId(vpcEndpointId)); } /** * Delete VPC endpoint configuration. * *

Deletes a VPC endpoint configuration, which represents an [AWS VPC endpoint] that can * communicate privately with Databricks over [AWS PrivateLink]. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. * *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [AWS VPC endpoint]: * https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html [Databricks article about * PrivateLink]: * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html */ public void delete(DeleteVpcEndpointRequest request) { impl.delete(request); } public VpcEndpoint get(String vpcEndpointId) { return get(new GetVpcEndpointRequest().setVpcEndpointId(vpcEndpointId)); } /** * Get a VPC endpoint configuration. * *

Gets a VPC endpoint configuration, which represents a [VPC endpoint] object in AWS used to * communicate privately with Databricks over [AWS PrivateLink]. * *

[AWS PrivateLink]: https://aws.amazon.com/privatelink [VPC endpoint]: * https://docs.aws.amazon.com/vpc/latest/privatelink/concepts.html */ public VpcEndpoint get(GetVpcEndpointRequest request) { return impl.get(request); } /** * Get all VPC endpoint configurations. * *

Gets a list of all VPC endpoints for an account, specified by ID. * *

Before configuring PrivateLink, read the [Databricks article about PrivateLink]. * *

[Databricks article about PrivateLink]: * https://docs.databricks.com/administration-guide/cloud-configurations/aws/privatelink.html */ public Iterable list() { return impl.list(); } public VpcEndpointsService impl() { return impl; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy