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