Get an IntegrationConnection

Get an IntegrationConnection by ID.

πŸ‘

Permissions Required

Only Connections for which you have View permissions can be fetched.

Method Signature

IntegrationConnection getIntegrationConnection(String$id);

Parameters

ParameterTypeDescription
idStringThe id of the Integration Connection to get
returnsIntegrationConnectionThe requested Integration Connection

Example


/*
 * This example demonstrates getting an IntegrationConnection by ID
 * and printing out its Name
 */

import org.catalytic.sdk.CatalyticClient;
import org.catalytic.sdk.entities.IntegrationConnection;

public class Program {
  
    public static void main(String[] args) throws Exception {
        
        // Create and initialize the Catalytic SDK Client
        CatalyticClient catalytic = new CatalyticClient();
        
        // Get the IntegrationConnection with id "558e27d9-ee9d-470d-a32f-d35448b56006"
        IntegrationConnection integrationConnection = catalytic.integrations().getIntegrationConnection("558e27d9-ee9d-470d-a32f-d35448b56006");

        System.out.println("Integration Connection " + integrationConnection.getName());
    }
}