Class DeliveryWithResourceIdentity


  • public class DeliveryWithResourceIdentity
    extends Object
    Information about the delivery for an event subscription with resource identity.
    • Constructor Detail

      • DeliveryWithResourceIdentity

        public DeliveryWithResourceIdentity()
    • Method Detail

      • identity

        public EventSubscriptionIdentity identity()
        Get the identity property: The identity to use when delivering events.
        Returns:
        the identity value.
      • withIdentity

        public DeliveryWithResourceIdentity withIdentity​(EventSubscriptionIdentity identity)
        Set the identity property: The identity to use when delivering events.
        Parameters:
        identity - the identity value to set.
        Returns:
        the DeliveryWithResourceIdentity object itself.
      • destination

        public EventSubscriptionDestination destination()
        Get the destination property: Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
        Returns:
        the destination value.
      • withDestination

        public DeliveryWithResourceIdentity withDestination​(EventSubscriptionDestination destination)
        Set the destination property: Information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.
        Parameters:
        destination - the destination value to set.
        Returns:
        the DeliveryWithResourceIdentity object itself.
      • validate

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