DeliveryWithResourceIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. DeliveryWithResourceIdentity
- com.
Implements
public final class DeliveryWithResourceIdentity
implements JsonSerializable<DeliveryWithResourceIdentity>
Information about the delivery for an event subscription with resource identity.
Constructor Summary
| Constructor | Description |
|---|---|
| DeliveryWithResourceIdentity() |
Creates an instance of Delivery |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Event |
destination()
Get the destination property: Information about the destination where events have to be delivered for the event subscription. |
|
static
Delivery |
fromJson(JsonReader jsonReader)
Reads an instance of Delivery |
|
Event |
identity()
Get the identity property: The identity to use when delivering events. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Delivery |
withDestination(EventSubscriptionDestination destination)
Set the destination property: Information about the destination where events have to be delivered for the event subscription. |
|
Delivery |
withIdentity(EventSubscriptionIdentity identity)
Set the identity property: The identity to use when delivering events. |
Methods inherited from java.lang.Object
Constructor Details
DeliveryWithResourceIdentity
public DeliveryWithResourceIdentity()
Creates an instance of DeliveryWithResourceIdentity class.
Method Details
destination
public EventSubscriptionDestination destination()
Get the destination 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.
Returns:
fromJson
public static DeliveryWithResourceIdentity fromJson(JsonReader jsonReader)
Reads an instance of DeliveryWithResourceIdentity from the JsonReader.
Parameters:
Returns:
Throws:
identity
public EventSubscriptionIdentity identity()
Get the identity property: The identity to use when delivering events.
Returns:
toJson
validate
public void validate()
Validates the instance.
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 the managed identity setup on the parent resource (namely, topic or domain) to acquire the authentication tokens being used during delivery.
Parameters:
Returns:
withIdentity
public DeliveryWithResourceIdentity withIdentity(EventSubscriptionIdentity identity)
Set the identity property: The identity to use when delivering events.
Parameters:
Returns: