Class DeliveryWithResourceIdentity
java.lang.Object
com.azure.resourcemanager.eventgrid.models.DeliveryWithResourceIdentity
Information about the delivery for an event subscription with resource identity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the destination property: Information about the destination where events have to be delivered for the event subscription.identity()
Get the identity property: The identity to use when delivering events.void
validate()
Validates the instance.withDestination
(EventSubscriptionDestination destination) Set the destination property: Information about the destination where events have to be delivered for the event subscription.withIdentity
(EventSubscriptionIdentity identity) Set the identity property: The identity to use when delivering events.
-
Constructor Details
-
DeliveryWithResourceIdentity
public DeliveryWithResourceIdentity()
-
-
Method Details
-
identity
Get the identity property: The identity to use when delivering events.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity to use when delivering events.- Parameters:
identity
- the identity value to set.- Returns:
- the DeliveryWithResourceIdentity object itself.
-
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
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.
-