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

com.databricks.sdk.service.oauth2.PublishedAppIntegrationAPI Maven / Gradle / Ivy

// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.oauth2;

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

/**
 * These APIs enable administrators to manage published oauth app integrations, which is required
 * for adding/using Published OAuth App Integration like Tableau Cloud for Databricks in AWS cloud.
 *
 * 

**Note:** You can only add/use the OAuth published application integrations when OAuth * enrollment status is enabled. For more details see :method:OAuthEnrollment/create */ @Generated public class PublishedAppIntegrationAPI { private static final Logger LOG = LoggerFactory.getLogger(PublishedAppIntegrationAPI.class); private final PublishedAppIntegrationService impl; /** Regular-use constructor */ public PublishedAppIntegrationAPI(ApiClient apiClient) { impl = new PublishedAppIntegrationImpl(apiClient); } /** Constructor for mocks */ public PublishedAppIntegrationAPI(PublishedAppIntegrationService mock) { impl = mock; } /** * Create Published OAuth App Integration. * *

Create Published OAuth App Integration. * *

You can retrieve the published oauth app integration via * :method:PublishedAppIntegration/get. */ public CreatePublishedAppIntegrationOutput create(CreatePublishedAppIntegration request) { return impl.create(request); } public void delete(String integrationId) { delete(new DeletePublishedAppIntegrationRequest().setIntegrationId(integrationId)); } /** * Delete Published OAuth App Integration. * *

Delete an existing Published OAuth App Integration. You can retrieve the published oauth app * integration via :method:PublishedAppIntegration/get. */ public void delete(DeletePublishedAppIntegrationRequest request) { impl.delete(request); } public GetPublishedAppIntegrationOutput get(String integrationId) { return get(new GetPublishedAppIntegrationRequest().setIntegrationId(integrationId)); } /** * Get OAuth Published App Integration. * *

Gets the Published OAuth App Integration for the given integration id. */ public GetPublishedAppIntegrationOutput get(GetPublishedAppIntegrationRequest request) { return impl.get(request); } /** * Get published oauth app integrations. * *

Get the list of published oauth app integrations for the specified Databricks account */ public Iterable list() { return impl.list().getApps(); } public void update(String integrationId) { update(new UpdatePublishedAppIntegration().setIntegrationId(integrationId)); } /** * Updates Published OAuth App Integration. * *

Updates an existing published OAuth App Integration. You can retrieve the published oauth * app integration via :method:PublishedAppIntegration/get. */ public void update(UpdatePublishedAppIntegration request) { impl.update(request); } public PublishedAppIntegrationService impl() { return impl; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy