Class IntegrationsBetaApi


  • public class IntegrationsBetaApi
    extends java.lang.Object
    • Constructor Detail

      • IntegrationsBetaApi

        public IntegrationsBetaApi()
      • IntegrationsBetaApi

        public IntegrationsBetaApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • createBigSegmentStoreIntegrationCall

        public okhttp3.Call createBigSegmentStoreIntegrationCall​(java.lang.String projectKey,
                                                                 java.lang.String environmentKey,
                                                                 java.lang.String integrationKey,
                                                                 IntegrationDeliveryConfigurationPost integrationDeliveryConfigurationPost,
                                                                 ApiCallback _callback)
                                                          throws ApiException
        Build call for createBigSegmentStoreIntegration
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationDeliveryConfigurationPost - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • createBigSegmentStoreIntegration

        public BigSegmentStoreIntegration createBigSegmentStoreIntegration​(java.lang.String projectKey,
                                                                           java.lang.String environmentKey,
                                                                           java.lang.String integrationKey,
                                                                           IntegrationDeliveryConfigurationPost integrationDeliveryConfigurationPost)
                                                                    throws ApiException
        Create big segment store integration Create a persistent store integration. If you are using server-side SDKs, segments synced from external tools and larger list-based segments require a persistent store within your infrastructure. LaunchDarkly keeps the persistent store up to date and consults it during flag evaluation. You can use either Redis or DynamoDB as your persistent store. When you create a persistent store integration, the fields in the `config` object in the request vary depending on which persistent store you use. If you are using Redis to create your persistent store integration, you will need to know: * Your Redis host * Your Redis port * Your Redis username * Your Redis password * Whether or not LaunchDarkly should connect using TLS If you are using DynamoDB to create your persistent store integration, you will need to know: * Your DynamoDB table name. The table must have the following schema: * Partition key: `namespace` (string) * Sort key: `key` (string) * Your DynamoDB Amazon Web Services (AWS) region. * Your AWS role Amazon Resource Name (ARN). This is the role that LaunchDarkly will assume to manage your DynamoDB table. * The External ID you specified when creating your Amazon Resource Name (ARN). To learn more, read [Segment configuration](https://docs.launchdarkly.com/home/segments/big-segment-configuration).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationDeliveryConfigurationPost - (required)
        Returns:
        BigSegmentStoreIntegration
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createBigSegmentStoreIntegrationWithHttpInfo

        public ApiResponse<BigSegmentStoreIntegration> createBigSegmentStoreIntegrationWithHttpInfo​(java.lang.String projectKey,
                                                                                                    java.lang.String environmentKey,
                                                                                                    java.lang.String integrationKey,
                                                                                                    IntegrationDeliveryConfigurationPost integrationDeliveryConfigurationPost)
                                                                                             throws ApiException
        Create big segment store integration Create a persistent store integration. If you are using server-side SDKs, segments synced from external tools and larger list-based segments require a persistent store within your infrastructure. LaunchDarkly keeps the persistent store up to date and consults it during flag evaluation. You can use either Redis or DynamoDB as your persistent store. When you create a persistent store integration, the fields in the `config` object in the request vary depending on which persistent store you use. If you are using Redis to create your persistent store integration, you will need to know: * Your Redis host * Your Redis port * Your Redis username * Your Redis password * Whether or not LaunchDarkly should connect using TLS If you are using DynamoDB to create your persistent store integration, you will need to know: * Your DynamoDB table name. The table must have the following schema: * Partition key: `namespace` (string) * Sort key: `key` (string) * Your DynamoDB Amazon Web Services (AWS) region. * Your AWS role Amazon Resource Name (ARN). This is the role that LaunchDarkly will assume to manage your DynamoDB table. * The External ID you specified when creating your Amazon Resource Name (ARN). To learn more, read [Segment configuration](https://docs.launchdarkly.com/home/segments/big-segment-configuration).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationDeliveryConfigurationPost - (required)
        Returns:
        ApiResponse<BigSegmentStoreIntegration>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createBigSegmentStoreIntegrationAsync

        public okhttp3.Call createBigSegmentStoreIntegrationAsync​(java.lang.String projectKey,
                                                                  java.lang.String environmentKey,
                                                                  java.lang.String integrationKey,
                                                                  IntegrationDeliveryConfigurationPost integrationDeliveryConfigurationPost,
                                                                  ApiCallback<BigSegmentStoreIntegration> _callback)
                                                           throws ApiException
        Create big segment store integration (asynchronously) Create a persistent store integration. If you are using server-side SDKs, segments synced from external tools and larger list-based segments require a persistent store within your infrastructure. LaunchDarkly keeps the persistent store up to date and consults it during flag evaluation. You can use either Redis or DynamoDB as your persistent store. When you create a persistent store integration, the fields in the `config` object in the request vary depending on which persistent store you use. If you are using Redis to create your persistent store integration, you will need to know: * Your Redis host * Your Redis port * Your Redis username * Your Redis password * Whether or not LaunchDarkly should connect using TLS If you are using DynamoDB to create your persistent store integration, you will need to know: * Your DynamoDB table name. The table must have the following schema: * Partition key: `namespace` (string) * Sort key: `key` (string) * Your DynamoDB Amazon Web Services (AWS) region. * Your AWS role Amazon Resource Name (ARN). This is the role that LaunchDarkly will assume to manage your DynamoDB table. * The External ID you specified when creating your Amazon Resource Name (ARN). To learn more, read [Segment configuration](https://docs.launchdarkly.com/home/segments/big-segment-configuration).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationDeliveryConfigurationPost - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • deleteBigSegmentStoreIntegrationCall

        public okhttp3.Call deleteBigSegmentStoreIntegrationCall​(java.lang.String projectKey,
                                                                 java.lang.String environmentKey,
                                                                 java.lang.String integrationKey,
                                                                 java.lang.String integrationId,
                                                                 ApiCallback _callback)
                                                          throws ApiException
        Build call for deleteBigSegmentStoreIntegration
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteBigSegmentStoreIntegration

        public void deleteBigSegmentStoreIntegration​(java.lang.String projectKey,
                                                     java.lang.String environmentKey,
                                                     java.lang.String integrationKey,
                                                     java.lang.String integrationId)
                                              throws ApiException
        Delete big segment store integration Delete a persistent store integration. Each integration uses either Redis or DynamoDB.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteBigSegmentStoreIntegrationWithHttpInfo

        public ApiResponse<java.lang.Void> deleteBigSegmentStoreIntegrationWithHttpInfo​(java.lang.String projectKey,
                                                                                        java.lang.String environmentKey,
                                                                                        java.lang.String integrationKey,
                                                                                        java.lang.String integrationId)
                                                                                 throws ApiException
        Delete big segment store integration Delete a persistent store integration. Each integration uses either Redis or DynamoDB.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteBigSegmentStoreIntegrationAsync

        public okhttp3.Call deleteBigSegmentStoreIntegrationAsync​(java.lang.String projectKey,
                                                                  java.lang.String environmentKey,
                                                                  java.lang.String integrationKey,
                                                                  java.lang.String integrationId,
                                                                  ApiCallback<java.lang.Void> _callback)
                                                           throws ApiException
        Delete big segment store integration (asynchronously) Delete a persistent store integration. Each integration uses either Redis or DynamoDB.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getBigSegmentStoreIntegrationCall

        public okhttp3.Call getBigSegmentStoreIntegrationCall​(java.lang.String projectKey,
                                                              java.lang.String environmentKey,
                                                              java.lang.String integrationKey,
                                                              java.lang.String integrationId,
                                                              ApiCallback _callback)
                                                       throws ApiException
        Build call for getBigSegmentStoreIntegration
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getBigSegmentStoreIntegration

        public BigSegmentStoreIntegration getBigSegmentStoreIntegration​(java.lang.String projectKey,
                                                                        java.lang.String environmentKey,
                                                                        java.lang.String integrationKey,
                                                                        java.lang.String integrationId)
                                                                 throws ApiException
        Get big segment store integration by ID Get a big segment store integration by ID.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        Returns:
        BigSegmentStoreIntegration
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBigSegmentStoreIntegrationWithHttpInfo

        public ApiResponse<BigSegmentStoreIntegration> getBigSegmentStoreIntegrationWithHttpInfo​(java.lang.String projectKey,
                                                                                                 java.lang.String environmentKey,
                                                                                                 java.lang.String integrationKey,
                                                                                                 java.lang.String integrationId)
                                                                                          throws ApiException
        Get big segment store integration by ID Get a big segment store integration by ID.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        Returns:
        ApiResponse<BigSegmentStoreIntegration>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBigSegmentStoreIntegrationAsync

        public okhttp3.Call getBigSegmentStoreIntegrationAsync​(java.lang.String projectKey,
                                                               java.lang.String environmentKey,
                                                               java.lang.String integrationKey,
                                                               java.lang.String integrationId,
                                                               ApiCallback<BigSegmentStoreIntegration> _callback)
                                                        throws ApiException
        Get big segment store integration by ID (asynchronously) Get a big segment store integration by ID.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getBigSegmentStoreIntegrationsCall

        public okhttp3.Call getBigSegmentStoreIntegrationsCall​(ApiCallback _callback)
                                                        throws ApiException
        Build call for getBigSegmentStoreIntegrations
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getBigSegmentStoreIntegrations

        public BigSegmentStoreIntegrationCollection getBigSegmentStoreIntegrations()
                                                                            throws ApiException
        List all big segment store integrations List all big segment store integrations.
        Returns:
        BigSegmentStoreIntegrationCollection
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBigSegmentStoreIntegrationsWithHttpInfo

        public ApiResponse<BigSegmentStoreIntegrationCollection> getBigSegmentStoreIntegrationsWithHttpInfo()
                                                                                                     throws ApiException
        List all big segment store integrations List all big segment store integrations.
        Returns:
        ApiResponse<BigSegmentStoreIntegrationCollection>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getBigSegmentStoreIntegrationsAsync

        public okhttp3.Call getBigSegmentStoreIntegrationsAsync​(ApiCallback<BigSegmentStoreIntegrationCollection> _callback)
                                                         throws ApiException
        List all big segment store integrations (asynchronously) List all big segment store integrations.
        Parameters:
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • patchBigSegmentStoreIntegrationCall

        public okhttp3.Call patchBigSegmentStoreIntegrationCall​(java.lang.String projectKey,
                                                                java.lang.String environmentKey,
                                                                java.lang.String integrationKey,
                                                                java.lang.String integrationId,
                                                                java.util.List<PatchOperation> patchOperation,
                                                                ApiCallback _callback)
                                                         throws ApiException
        Build call for patchBigSegmentStoreIntegration
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        patchOperation - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • patchBigSegmentStoreIntegration

        public BigSegmentStoreIntegration patchBigSegmentStoreIntegration​(java.lang.String projectKey,
                                                                          java.lang.String environmentKey,
                                                                          java.lang.String integrationKey,
                                                                          java.lang.String integrationId,
                                                                          java.util.List<PatchOperation> patchOperation)
                                                                   throws ApiException
        Update big segment store integration Update a big segment store integration. Updating a big segment store requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        patchOperation - (required)
        Returns:
        BigSegmentStoreIntegration
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchBigSegmentStoreIntegrationWithHttpInfo

        public ApiResponse<BigSegmentStoreIntegration> patchBigSegmentStoreIntegrationWithHttpInfo​(java.lang.String projectKey,
                                                                                                   java.lang.String environmentKey,
                                                                                                   java.lang.String integrationKey,
                                                                                                   java.lang.String integrationId,
                                                                                                   java.util.List<PatchOperation> patchOperation)
                                                                                            throws ApiException
        Update big segment store integration Update a big segment store integration. Updating a big segment store requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        patchOperation - (required)
        Returns:
        ApiResponse<BigSegmentStoreIntegration>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchBigSegmentStoreIntegrationAsync

        public okhttp3.Call patchBigSegmentStoreIntegrationAsync​(java.lang.String projectKey,
                                                                 java.lang.String environmentKey,
                                                                 java.lang.String integrationKey,
                                                                 java.lang.String integrationId,
                                                                 java.util.List<PatchOperation> patchOperation,
                                                                 ApiCallback<BigSegmentStoreIntegration> _callback)
                                                          throws ApiException
        Update big segment store integration (asynchronously) Update a big segment store integration. Updating a big segment store requires a [JSON Patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        integrationKey - The integration key, either `redis` or `dynamodb` (required)
        integrationId - The integration ID (required)
        patchOperation - (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object