Share via


WebHookEventSubscriptionDestination Class

public class WebHookEventSubscriptionDestination
extends EventSubscriptionDestination

Information about the webhook destination for an event subscription.

Constructor Summary

Constructor Description
WebHookEventSubscriptionDestination()

Method Summary

Modifier and Type Method and Description
java.lang.String azureActiveDirectoryApplicationIdOrUri()

Get the Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

java.lang.String azureActiveDirectoryTenantId()

Get the Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.

java.lang.String endpointBaseUrl()

Get the base URL that represents the endpoint of the destination of an event subscription.

java.lang.String endpointUrl()

Get the URL that represents the endpoint of the destination of an event subscription.

java.lang.Integer maxEventsPerBatch()

Get maximum number of events per batch.

java.lang.Integer preferredBatchSizeInKilobytes()

Get preferred batch size in Kilobytes.

WebHookEventSubscriptionDestination withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)

Set the Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.

WebHookEventSubscriptionDestination withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)

Set the Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.

WebHookEventSubscriptionDestination withEndpointUrl(String endpointUrl)

Set the URL that represents the endpoint of the destination of an event subscription.

WebHookEventSubscriptionDestination withMaxEventsPerBatch(Integer maxEventsPerBatch)

Set maximum number of events per batch.

WebHookEventSubscriptionDestination withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)

Set preferred batch size in Kilobytes.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

WebHookEventSubscriptionDestination

public WebHookEventSubscriptionDestination()

Method Details

azureActiveDirectoryApplicationIdOrUri

public String azureActiveDirectoryApplicationIdOrUri()

Get 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

azureActiveDirectoryTenantId

public String azureActiveDirectoryTenantId()

Get 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

endpointBaseUrl

public String endpointBaseUrl()

Get the base URL that represents the endpoint of the destination of an event subscription.

Returns:

the endpointBaseUrl value

endpointUrl

public String endpointUrl()

Get the URL that represents the endpoint of the destination of an event subscription.

Returns:

the endpointUrl value

maxEventsPerBatch

public Integer maxEventsPerBatch()

Get maximum number of events per batch.

Returns:

the maxEventsPerBatch value

preferredBatchSizeInKilobytes

public Integer preferredBatchSizeInKilobytes()

Get preferred batch size in Kilobytes.

Returns:

the preferredBatchSizeInKilobytes value

withAzureActiveDirectoryApplicationIdOrUri

public WebHookEventSubscriptionDestination withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)

Set 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.

withAzureActiveDirectoryTenantId

public WebHookEventSubscriptionDestination withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)

Set 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.

withEndpointUrl

public WebHookEventSubscriptionDestination withEndpointUrl(String endpointUrl)

Set 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.

withMaxEventsPerBatch

public WebHookEventSubscriptionDestination withMaxEventsPerBatch(Integer maxEventsPerBatch)

Set maximum number of events per batch.

Parameters:

maxEventsPerBatch - the maxEventsPerBatch value to set

Returns:

the WebHookEventSubscriptionDestination object itself.

withPreferredBatchSizeInKilobytes

public WebHookEventSubscriptionDestination withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)

Set preferred batch size in Kilobytes.

Parameters:

preferredBatchSizeInKilobytes - the preferredBatchSizeInKilobytes value to set

Returns:

the WebHookEventSubscriptionDestination object itself.

Applies to