Class StaticDeliveryAttributeMapping

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

public final class StaticDeliveryAttributeMapping extends DeliveryAttributeMapping
Static delivery attribute mapping details.
  • Constructor Details

    • StaticDeliveryAttributeMapping

      public StaticDeliveryAttributeMapping()
  • Method Details

    • withName

      public StaticDeliveryAttributeMapping 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.
    • value

      public String value()
      Get the value property: Value of the delivery attribute.
      Returns:
      the value value.
    • withValue

      public StaticDeliveryAttributeMapping withValue(String value)
      Set the value property: Value of the delivery attribute.
      Parameters:
      value - the value value to set.
      Returns:
      the StaticDeliveryAttributeMapping object itself.
    • isSecret

      public Boolean isSecret()
      Get the isSecret property: Boolean flag to tell if the attribute contains sensitive information .
      Returns:
      the isSecret value.
    • withIsSecret

      public StaticDeliveryAttributeMapping withIsSecret(Boolean isSecret)
      Set the isSecret property: Boolean flag to tell if the attribute contains sensitive information .
      Parameters:
      isSecret - the isSecret value to set.
      Returns:
      the StaticDeliveryAttributeMapping object itself.
    • validate

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