Class DeadLetterWithResourceIdentity


  • public class DeadLetterWithResourceIdentity
    extends Object
    Information about the deadletter destination with resource identity.
    • Constructor Detail

      • DeadLetterWithResourceIdentity

        public DeadLetterWithResourceIdentity()
    • Method Detail

      • identity

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

        public DeadLetterWithResourceIdentity withIdentity​(EventSubscriptionIdentity identity)
        Set the identity property: The identity to use when dead-lettering events.
        Parameters:
        identity - the identity value to set.
        Returns:
        the DeadLetterWithResourceIdentity object itself.
      • deadLetterDestination

        public DeadLetterDestination deadLetterDestination()
        Get the deadLetterDestination property: Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
        Returns:
        the deadLetterDestination value.
      • withDeadLetterDestination

        public DeadLetterWithResourceIdentity withDeadLetterDestination​(DeadLetterDestination deadLetterDestination)
        Set the deadLetterDestination property: Information about the destination where events have to be delivered for the event subscription. Uses the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery / dead-lettering.
        Parameters:
        deadLetterDestination - the deadLetterDestination value to set.
        Returns:
        the DeadLetterWithResourceIdentity object itself.
      • validate

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