Class WebhookEventSubscriptionDestination


  • public final class WebhookEventSubscriptionDestination
    extends EventSubscriptionDestination
    Information about the webhook destination for an event subscription.
    • Constructor Detail

      • WebhookEventSubscriptionDestination

        public WebhookEventSubscriptionDestination()
    • Method Detail

      • endpointUrl

        public String endpointUrl()
        Get the endpointUrl property: The URL that represents the endpoint of the destination of an event subscription.
        Returns:
        the endpointUrl value.
      • withEndpointUrl

        public WebhookEventSubscriptionDestination withEndpointUrl​(String endpointUrl)
        Set the endpointUrl property: The URL that represents the endpoint of the destination of an event subscription.
        Parameters:
        endpointUrl - the endpointUrl value to set.
        Returns:
        the WebhookEventSubscriptionDestination object itself.
      • endpointBaseUrl

        public String endpointBaseUrl()
        Get the endpointBaseUrl property: The base URL that represents the endpoint of the destination of an event subscription.
        Returns:
        the endpointBaseUrl value.
      • maxEventsPerBatch

        public Integer maxEventsPerBatch()
        Get the maxEventsPerBatch property: Maximum number of events per batch.
        Returns:
        the maxEventsPerBatch value.
      • withMaxEventsPerBatch

        public WebhookEventSubscriptionDestination withMaxEventsPerBatch​(Integer maxEventsPerBatch)
        Set the maxEventsPerBatch property: Maximum number of events per batch.
        Parameters:
        maxEventsPerBatch - the maxEventsPerBatch value to set.
        Returns:
        the WebhookEventSubscriptionDestination object itself.
      • preferredBatchSizeInKilobytes

        public Integer preferredBatchSizeInKilobytes()
        Get the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
        Returns:
        the preferredBatchSizeInKilobytes value.
      • withPreferredBatchSizeInKilobytes

        public WebhookEventSubscriptionDestination withPreferredBatchSizeInKilobytes​(Integer preferredBatchSizeInKilobytes)
        Set the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
        Parameters:
        preferredBatchSizeInKilobytes - the preferredBatchSizeInKilobytes value to set.
        Returns:
        the WebhookEventSubscriptionDestination object itself.
      • azureActiveDirectoryTenantId

        public String azureActiveDirectoryTenantId()
        Get the azureActiveDirectoryTenantId property: The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
        Returns:
        the azureActiveDirectoryTenantId value.
      • withAzureActiveDirectoryTenantId

        public WebhookEventSubscriptionDestination withAzureActiveDirectoryTenantId​(String azureActiveDirectoryTenantId)
        Set the azureActiveDirectoryTenantId property: The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
        Parameters:
        azureActiveDirectoryTenantId - the azureActiveDirectoryTenantId value to set.
        Returns:
        the WebhookEventSubscriptionDestination object itself.
      • azureActiveDirectoryApplicationIdOrUri

        public String azureActiveDirectoryApplicationIdOrUri()
        Get the azureActiveDirectoryApplicationIdOrUri property: The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
        Returns:
        the azureActiveDirectoryApplicationIdOrUri value.
      • withAzureActiveDirectoryApplicationIdOrUri

        public WebhookEventSubscriptionDestination withAzureActiveDirectoryApplicationIdOrUri​(String azureActiveDirectoryApplicationIdOrUri)
        Set the azureActiveDirectoryApplicationIdOrUri property: The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
        Parameters:
        azureActiveDirectoryApplicationIdOrUri - the azureActiveDirectoryApplicationIdOrUri value to set.
        Returns:
        the WebhookEventSubscriptionDestination object itself.
      • deliveryAttributeMappings

        public List<DeliveryAttributeMapping> deliveryAttributeMappings()
        Get the deliveryAttributeMappings property: Delivery attribute details.
        Returns:
        the deliveryAttributeMappings value.
      • withDeliveryAttributeMappings

        public WebhookEventSubscriptionDestination withDeliveryAttributeMappings​(List<DeliveryAttributeMapping> deliveryAttributeMappings)
        Set the deliveryAttributeMappings property: Delivery attribute details.
        Parameters:
        deliveryAttributeMappings - the deliveryAttributeMappings value to set.
        Returns:
        the WebhookEventSubscriptionDestination object itself.