Class EventHubEventSubscriptionDestinationProperties
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.fluent.models.EventHubEventSubscriptionDestinationProperties
-
public final class EventHubEventSubscriptionDestinationProperties extends Object
The properties for a event hub destination.
-
-
Constructor Summary
Constructors Constructor Description EventHubEventSubscriptionDestinationProperties()
-
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 an Event Hub destination of an event subscription.voidvalidate()Validates the instance.EventHubEventSubscriptionDestinationPropertieswithDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)Set the deliveryAttributeMappings property: Delivery attribute details.EventHubEventSubscriptionDestinationPropertieswithResourceId(String resourceId)Set the resourceId property: The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.
-
-
-
Method Detail
-
resourceId
public String resourceId()
Get the resourceId property: The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.- Returns:
- the resourceId value.
-
withResourceId
public EventHubEventSubscriptionDestinationProperties withResourceId(String resourceId)
Set the resourceId property: The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the EventHubEventSubscriptionDestinationProperties object itself.
-
deliveryAttributeMappings
public List<DeliveryAttributeMapping> deliveryAttributeMappings()
Get the deliveryAttributeMappings property: Delivery attribute details.- Returns:
- the deliveryAttributeMappings value.
-
withDeliveryAttributeMappings
public EventHubEventSubscriptionDestinationProperties withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the deliveryAttributeMappings property: Delivery attribute details.- Parameters:
deliveryAttributeMappings- the deliveryAttributeMappings value to set.- Returns:
- the EventHubEventSubscriptionDestinationProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-