Dela via


DeadLetterWithResourceIdentity Class

  • java.lang.Object
    • com.microsoft.azure.management.eventgrid.v2020_04_01_preview.DeadLetterWithResourceIdentity

public class DeadLetterWithResourceIdentity

Information about the deadletter destination with resource identity.

Constructor Summary

Constructor Description
DeadLetterWithResourceIdentity()

Method Summary

Modifier and Type Method and Description
DeadLetterDestination deadLetterDestination()

Get information about the destination where events have to be delivered for the event subscription.

EventSubscriptionIdentity identity()

Get the identity to use when dead-lettering events.

DeadLetterWithResourceIdentity withDeadLetterDestination(DeadLetterDestination deadLetterDestination)

Set information about the destination where events have to be delivered for the event subscription.

DeadLetterWithResourceIdentity withIdentity(EventSubscriptionIdentity identity)

Set the identity to use when dead-lettering events.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DeadLetterWithResourceIdentity

public DeadLetterWithResourceIdentity()

Method Details

deadLetterDestination

public DeadLetterDestination deadLetterDestination()

Get 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

identity

public EventSubscriptionIdentity identity()

Get the identity to use when dead-lettering events.

Returns:

the identity value

withDeadLetterDestination

public DeadLetterWithResourceIdentity withDeadLetterDestination(DeadLetterDestination deadLetterDestination)

Set 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.

withIdentity

public DeadLetterWithResourceIdentity withIdentity(EventSubscriptionIdentity identity)

Set the identity to use when dead-lettering events.

Parameters:

identity - the identity value to set

Returns:

the DeadLetterWithResourceIdentity object itself.

Applies to