次の方法で共有


ServiceBusQueueEventSubscriptionDestination Class

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 ServiceBusQueueEventSubscriptionDestination class.

Method Summary

Modifier and Type Method and Description
List<DeliveryAttributeMapping> deliveryAttributeMappings()

Get the deliveryAttributeMappings property: Delivery attribute details.

EndpointType endpointType()

Get the endpointType property: Type of the endpoint for the event subscription destination.

static ServiceBusQueueEventSubscriptionDestination fromJson(JsonReader jsonReader)

Reads an instance of ServiceBusQueueEventSubscriptionDestination from the JsonReader.

String resourceId()

Get the resourceId property: The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceBusQueueEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)

Set the deliveryAttributeMappings property: Delivery attribute details.

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.

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:

the deliveryAttributeMappings value.

endpointType

public EndpointType endpointType()

Get the endpointType property: Type of the endpoint for the event subscription destination.

Overrides:

ServiceBusQueueEventSubscriptionDestination.endpointType()

Returns:

the endpointType value.

fromJson

public static ServiceBusQueueEventSubscriptionDestination fromJson(JsonReader jsonReader)

Reads an instance of ServiceBusQueueEventSubscriptionDestination from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceBusQueueEventSubscriptionDestination if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ServiceBusQueueEventSubscriptionDestination.

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:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServiceBusQueueEventSubscriptionDestination.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

deliveryAttributeMappings - the deliveryAttributeMappings value to set.

Returns:

the ServiceBusQueueEventSubscriptionDestination object itself.

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:

resourceId - the resourceId value to set.

Returns:

the ServiceBusQueueEventSubscriptionDestination object itself.

Applies to