ServiceBusQueueEventSubscriptionDestination Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. EventSubscriptionDestination - com.
azure. resourcemanager. eventgrid. models. ServiceBusQueueEventSubscriptionDestination
- com.
- com.
public final class ServiceBusQueueEventSubscriptionDestination
extends EventSubscriptionDestination
Information about the service bus destination for an event subscription.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceBusQueueEventSubscriptionDestination() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Delivery |
deliveryAttributeMappings()
Get the delivery |
|
Endpoint |
endpointType()
Get the endpoint |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Service |
withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the delivery |
|
Service |
withResourceId(String resourceId)
Set the resource |
Methods inherited from EventSubscriptionDestination
Methods inherited from java.lang.Object
Constructor Details
ServiceBusQueueEventSubscriptionDestination
public ServiceBusQueueEventSubscriptionDestination()
Creates an instance of ServiceBusQueueEventSubscriptionDestination class.
Method Details
deliveryAttributeMappings
public List<DeliveryAttributeMapping> deliveryAttributeMappings()
Get the deliveryAttributeMappings property: Delivery attribute details.
Returns:
endpointType
public EndpointType endpointType()
Get the endpointType property: Type of the endpoint for the event subscription destination.
Overrides:
ServiceBusQueueEventSubscriptionDestination.endpointType()Returns:
fromJson
public static ServiceBusQueueEventSubscriptionDestination fromJson(JsonReader jsonReader)
Reads an instance of ServiceBusQueueEventSubscriptionDestination from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServiceBusQueueEventSubscriptionDestination.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ServiceBusQueueEventSubscriptionDestination.validate()withDeliveryAttributeMappings
public ServiceBusQueueEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the deliveryAttributeMappings property: Delivery attribute details.
Parameters:
Returns:
withResourceId
public ServiceBusQueueEventSubscriptionDestination withResourceId(String resourceId)
Set the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.
Parameters:
Returns: