Class ServiceBusQueueEventSubscriptionDestination
java.lang.Object
com.azure.resourcemanager.eventgrid.models.EventSubscriptionDestination
com.azure.resourcemanager.eventgrid.models.ServiceBusQueueEventSubscriptionDestination
Information about the service bus destination for an event subscription.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the deliveryAttributeMappings property: Delivery attribute details.Get the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.void
validate()
Validates the instance.withDeliveryAttributeMappings
(List<DeliveryAttributeMapping> deliveryAttributeMappings) Set the deliveryAttributeMappings property: Delivery attribute details.withResourceId
(String resourceId) Set the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
-
Constructor Details
-
ServiceBusQueueEventSubscriptionDestination
public ServiceBusQueueEventSubscriptionDestination()
-
-
Method Details
-
resourceId
Get the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the ServiceBusQueueEventSubscriptionDestination object itself.
-
deliveryAttributeMappings
Get the deliveryAttributeMappings property: Delivery attribute details.- Returns:
- the deliveryAttributeMappings value.
-
withDeliveryAttributeMappings
public ServiceBusQueueEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings) Set the deliveryAttributeMappings property: Delivery attribute details.- Parameters:
deliveryAttributeMappings
- the deliveryAttributeMappings value to set.- Returns:
- the ServiceBusQueueEventSubscriptionDestination object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEventSubscriptionDestination
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-