WebhookEventSubscriptionDestination Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. EventSubscriptionDestination - com.
azure. resourcemanager. eventgrid. models. WebhookEventSubscriptionDestination
- com.
- com.
public final class WebhookEventSubscriptionDestination
extends EventSubscriptionDestination
Information about the webhook destination for an event subscription.
Constructor Summary
| Constructor | Description |
|---|---|
| WebhookEventSubscriptionDestination() |
Creates an instance of Webhook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureActiveDirectoryApplicationIdOrUri()
Get the azure |
| String |
azureActiveDirectoryTenantId()
Get the azure |
|
List<Delivery |
deliveryAttributeMappings()
Get the delivery |
| String |
endpointBaseUrl()
Get the endpoint |
|
Endpoint |
endpointType()
Get the endpoint |
| String |
endpointUrl()
Get the endpoint |
|
static
Webhook |
fromJson(JsonReader jsonReader)
Reads an instance of Webhook |
| Integer |
maxEventsPerBatch()
Get the max |
|
Tls |
minimumTlsVersionAllowed()
Get the minimum |
| Integer |
preferredBatchSizeInKilobytes()
Get the preferred |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Webhook |
withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)
Set the azure |
|
Webhook |
withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)
Set the azure |
|
Webhook |
withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the delivery |
|
Webhook |
withEndpointUrl(String endpointUrl)
Set the endpoint |
|
Webhook |
withMaxEventsPerBatch(Integer maxEventsPerBatch)
Set the max |
|
Webhook |
withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimum |
|
Webhook |
withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)
Set the preferred |
Methods inherited from EventSubscriptionDestination
Methods inherited from java.lang.Object
Constructor Details
WebhookEventSubscriptionDestination
public WebhookEventSubscriptionDestination()
Creates an instance of WebhookEventSubscriptionDestination class.
Method Details
azureActiveDirectoryApplicationIdOrUri
public String azureActiveDirectoryApplicationIdOrUri()
Get the azureActiveDirectoryApplicationIdOrUri property: The Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
Returns:
azureActiveDirectoryTenantId
public String azureActiveDirectoryTenantId()
Get the azureActiveDirectoryTenantId property: The Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.
Returns:
deliveryAttributeMappings
public List<DeliveryAttributeMapping> deliveryAttributeMappings()
Get the deliveryAttributeMappings property: Delivery attribute details.
Returns:
endpointBaseUrl
public String endpointBaseUrl()
Get the endpointBaseUrl property: The base URL that represents the endpoint of the destination of an event subscription.
Returns:
endpointType
public EndpointType endpointType()
Get the endpointType property: Type of the endpoint for the event subscription destination.
Overrides:
WebhookEventSubscriptionDestination.endpointType()Returns:
endpointUrl
public String endpointUrl()
Get the endpointUrl property: The URL that represents the endpoint of the destination of an event subscription.
Returns:
fromJson
public static WebhookEventSubscriptionDestination fromJson(JsonReader jsonReader)
Reads an instance of WebhookEventSubscriptionDestination from the JsonReader.
Parameters:
Returns:
Throws:
maxEventsPerBatch
public Integer maxEventsPerBatch()
Get the maxEventsPerBatch property: Maximum number of events per batch.
Returns:
minimumTlsVersionAllowed
public TlsVersion minimumTlsVersionAllowed()
Get the minimumTlsVersionAllowed property: Minimum TLS version that should be supported by webhook endpoint.
Returns:
preferredBatchSizeInKilobytes
public Integer preferredBatchSizeInKilobytes()
Get the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WebhookEventSubscriptionDestination.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
WebhookEventSubscriptionDestination.validate()withAzureActiveDirectoryApplicationIdOrUri
public WebhookEventSubscriptionDestination withAzureActiveDirectoryApplicationIdOrUri(String azureActiveDirectoryApplicationIdOrUri)
Set the azureActiveDirectoryApplicationIdOrUri property: The Microsoft Entra ID Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
Parameters:
Returns:
withAzureActiveDirectoryTenantId
public WebhookEventSubscriptionDestination withAzureActiveDirectoryTenantId(String azureActiveDirectoryTenantId)
Set the azureActiveDirectoryTenantId property: The Microsoft Entra ID Tenant ID to get the access token that will be included as the bearer token in delivery requests.
Parameters:
Returns:
withDeliveryAttributeMappings
public WebhookEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the deliveryAttributeMappings property: Delivery attribute details.
Parameters:
Returns:
withEndpointUrl
public WebhookEventSubscriptionDestination withEndpointUrl(String endpointUrl)
Set the endpointUrl property: The URL that represents the endpoint of the destination of an event subscription.
Parameters:
Returns:
withMaxEventsPerBatch
public WebhookEventSubscriptionDestination withMaxEventsPerBatch(Integer maxEventsPerBatch)
Set the maxEventsPerBatch property: Maximum number of events per batch.
Parameters:
Returns:
withMinimumTlsVersionAllowed
public WebhookEventSubscriptionDestination withMinimumTlsVersionAllowed(TlsVersion minimumTlsVersionAllowed)
Set the minimumTlsVersionAllowed property: Minimum TLS version that should be supported by webhook endpoint.
Parameters:
Returns:
withPreferredBatchSizeInKilobytes
public WebhookEventSubscriptionDestination withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)
Set the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
Parameters:
Returns: