Class AzureFunctionEventSubscriptionDestination

java.lang.Object
com.azure.resourcemanager.eventgrid.models.EventSubscriptionDestination
com.azure.resourcemanager.eventgrid.models.AzureFunctionEventSubscriptionDestination

public final class AzureFunctionEventSubscriptionDestination extends EventSubscriptionDestination
Information about the azure function destination for an event subscription.
  • Constructor Details

    • AzureFunctionEventSubscriptionDestination

      public AzureFunctionEventSubscriptionDestination()
  • Method Details

    • resourceId

      public String 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

      public AzureFunctionEventSubscriptionDestination withResourceId(String resourceId)
      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

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

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

      public Integer 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

      public List<DeliveryAttributeMapping> 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 class EventSubscriptionDestination
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.