Class ServiceBusTopicEventSubscriptionDestinationProperties
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.fluent.models.ServiceBusTopicEventSubscriptionDestinationProperties
-
public final class ServiceBusTopicEventSubscriptionDestinationProperties extends Object
The properties that represent the Service Bus Topic destination of an event subscription.
-
-
Constructor Summary
Constructors Constructor Description ServiceBusTopicEventSubscriptionDestinationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DeliveryAttributeMapping>deliveryAttributeMappings()Get the deliveryAttributeMappings property: Delivery attribute details.StringresourceId()Get the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.voidvalidate()Validates the instance.ServiceBusTopicEventSubscriptionDestinationPropertieswithDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)Set the deliveryAttributeMappings property: Delivery attribute details.ServiceBusTopicEventSubscriptionDestinationPropertieswithResourceId(String resourceId)Set the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.
-
-
-
Method Detail
-
resourceId
public String resourceId()
Get the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.- Returns:
- the resourceId value.
-
withResourceId
public ServiceBusTopicEventSubscriptionDestinationProperties withResourceId(String resourceId)
Set the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the ServiceBusTopicEventSubscriptionDestinationProperties object itself.
-
deliveryAttributeMappings
public List<DeliveryAttributeMapping> deliveryAttributeMappings()
Get the deliveryAttributeMappings property: Delivery attribute details.- Returns:
- the deliveryAttributeMappings value.
-
withDeliveryAttributeMappings
public ServiceBusTopicEventSubscriptionDestinationProperties withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the deliveryAttributeMappings property: Delivery attribute details.- Parameters:
deliveryAttributeMappings- the deliveryAttributeMappings value to set.- Returns:
- the ServiceBusTopicEventSubscriptionDestinationProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-