Class DeliveryAttributeMapping

java.lang.Object
com.azure.resourcemanager.eventgrid.models.DeliveryAttributeMapping
Direct Known Subclasses:
DynamicDeliveryAttributeMapping, StaticDeliveryAttributeMapping

public class DeliveryAttributeMapping extends Object
Delivery attribute mapping details.
  • Constructor Details

    • DeliveryAttributeMapping

      public DeliveryAttributeMapping()
  • Method Details

    • name

      public String name()
      Get the name property: Name of the delivery attribute or header.
      Returns:
      the name value.
    • withName

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

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