Class DynamicDeliveryAttributeMapping

java.lang.Object
com.azure.resourcemanager.eventgrid.models.DeliveryAttributeMapping
com.azure.resourcemanager.eventgrid.models.DynamicDeliveryAttributeMapping

public final class DynamicDeliveryAttributeMapping extends DeliveryAttributeMapping
Dynamic delivery attribute mapping details.
  • Constructor Details

    • DynamicDeliveryAttributeMapping

      public DynamicDeliveryAttributeMapping()
  • Method Details

    • withName

      public DynamicDeliveryAttributeMapping withName(String name)
      Set the name property: Name of the delivery attribute or header.
      Overrides:
      withName in class DeliveryAttributeMapping
      Parameters:
      name - the name value to set.
      Returns:
      the DeliveryAttributeMapping object itself.
    • sourceField

      public String sourceField()
      Get the sourceField property: JSON path in the event which contains attribute value.
      Returns:
      the sourceField value.
    • withSourceField

      public DynamicDeliveryAttributeMapping withSourceField(String sourceField)
      Set the sourceField property: JSON path in the event which contains attribute value.
      Parameters:
      sourceField - the sourceField value to set.
      Returns:
      the DynamicDeliveryAttributeMapping object itself.
    • validate

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