DeadLetterWithResourceIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.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 the deadLetterDestination property: Information about the destination where events have to be delivered for the event subscription.

EventSubscriptionIdentity identity()

Get the identity property: The identity to use when dead-lettering events.

void validate()

Validates the instance.

DeadLetterWithResourceIdentity withDeadLetterDestination(DeadLetterDestination deadLetterDestination)

Set the deadLetterDestination property: Information about the destination where events have to be delivered for the event subscription.

DeadLetterWithResourceIdentity withIdentity(EventSubscriptionIdentity identity)

Set the identity property: The identity to use when dead-lettering events.

Methods inherited from java.lang.Object

Constructor Details

DeadLetterWithResourceIdentity

public DeadLetterWithResourceIdentity()

Method Details

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.

identity

public EventSubscriptionIdentity identity()

Get the identity property: The identity to use when dead-lettering events.

Returns:

the identity value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to

Azure SDK for Java

Latest