Class WebhookEventSubscriptionDestinationProperties
java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.WebhookEventSubscriptionDestinationProperties
Information about the webhook destination properties for an event subscription.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.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.Get the deliveryAttributeMappings property: Delivery attribute details.Get the endpointBaseUrl property: The base URL that represents the endpoint of the destination of an event subscription.Get the endpointUrl property: The URL that represents the endpoint of the destination of an event subscription.Get the maxEventsPerBatch property: Maximum number of events per batch.Get the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.void
validate()
Validates the instance.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.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.withDeliveryAttributeMappings
(List<DeliveryAttributeMapping> deliveryAttributeMappings) Set the deliveryAttributeMappings property: Delivery attribute details.withEndpointUrl
(String endpointUrl) Set the endpointUrl property: The URL that represents the endpoint of the destination of an event subscription.withMaxEventsPerBatch
(Integer maxEventsPerBatch) Set the maxEventsPerBatch property: Maximum number of events per batch.withPreferredBatchSizeInKilobytes
(Integer preferredBatchSizeInKilobytes) Set the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
-
Constructor Details
-
WebhookEventSubscriptionDestinationProperties
public WebhookEventSubscriptionDestinationProperties()
-
-
Method Details
-
endpointUrl
Get the endpointUrl property: The URL that represents the endpoint of the destination of an event subscription.- Returns:
- the endpointUrl value.
-
withEndpointUrl
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 WebhookEventSubscriptionDestinationProperties object itself.
-
endpointBaseUrl
Get the endpointBaseUrl property: The base URL that represents the endpoint of the destination of an event subscription.- Returns:
- the endpointBaseUrl value.
-
maxEventsPerBatch
Get the maxEventsPerBatch property: Maximum number of events per batch.- Returns:
- the maxEventsPerBatch value.
-
withMaxEventsPerBatch
public WebhookEventSubscriptionDestinationProperties withMaxEventsPerBatch(Integer maxEventsPerBatch) Set the maxEventsPerBatch property: Maximum number of events per batch.- Parameters:
maxEventsPerBatch
- the maxEventsPerBatch value to set.- Returns:
- the WebhookEventSubscriptionDestinationProperties object itself.
-
preferredBatchSizeInKilobytes
Get the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.- Returns:
- the preferredBatchSizeInKilobytes value.
-
withPreferredBatchSizeInKilobytes
public WebhookEventSubscriptionDestinationProperties withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes) Set the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.- Parameters:
preferredBatchSizeInKilobytes
- the preferredBatchSizeInKilobytes value to set.- Returns:
- the WebhookEventSubscriptionDestinationProperties object itself.
-
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 WebhookEventSubscriptionDestinationProperties 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 WebhookEventSubscriptionDestinationProperties object itself.
-
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 WebhookEventSubscriptionDestinationProperties 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 WebhookEventSubscriptionDestinationProperties object itself.
-
deliveryAttributeMappings
Get the deliveryAttributeMappings property: Delivery attribute details.- Returns:
- the deliveryAttributeMappings value.
-
withDeliveryAttributeMappings
public WebhookEventSubscriptionDestinationProperties withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings) Set the deliveryAttributeMappings property: Delivery attribute details.- Parameters:
deliveryAttributeMappings
- the deliveryAttributeMappings value to set.- Returns:
- the WebhookEventSubscriptionDestinationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-