Class AzureFunctionEventSubscriptionDestinationProperties

java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.AzureFunctionEventSubscriptionDestinationProperties

public final class AzureFunctionEventSubscriptionDestinationProperties extends Object
The properties that represent the Azure Function destination of an event subscription.
  • Constructor Details

    • AzureFunctionEventSubscriptionDestinationProperties

      public AzureFunctionEventSubscriptionDestinationProperties()
  • 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 AzureFunctionEventSubscriptionDestinationProperties 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 AzureFunctionEventSubscriptionDestinationProperties object itself.
    • maxEventsPerBatch

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

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

      public Integer preferredBatchSizeInKilobytes()
      Get the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
      Returns:
      the preferredBatchSizeInKilobytes value.
    • withPreferredBatchSizeInKilobytes

      public AzureFunctionEventSubscriptionDestinationProperties withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)
      Set the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
      Parameters:
      preferredBatchSizeInKilobytes - the preferredBatchSizeInKilobytes value to set.
      Returns:
      the AzureFunctionEventSubscriptionDestinationProperties object itself.
    • deliveryAttributeMappings

      public List<DeliveryAttributeMapping> deliveryAttributeMappings()
      Get the deliveryAttributeMappings property: Delivery attribute details.
      Returns:
      the deliveryAttributeMappings value.
    • withDeliveryAttributeMappings

      public AzureFunctionEventSubscriptionDestinationProperties withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
      Set the deliveryAttributeMappings property: Delivery attribute details.
      Parameters:
      deliveryAttributeMappings - the deliveryAttributeMappings value to set.
      Returns:
      the AzureFunctionEventSubscriptionDestinationProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.