次の方法で共有


HybridConnectionEventSubscriptionDestination Class

public final class HybridConnectionEventSubscriptionDestination
extends EventSubscriptionDestination

Information about the HybridConnection destination for an event subscription.

Constructor Summary

Constructor Description
HybridConnectionEventSubscriptionDestination()

Creates an instance of HybridConnectionEventSubscriptionDestination 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 HybridConnectionEventSubscriptionDestination fromJson(JsonReader jsonReader)

Reads an instance of HybridConnectionEventSubscriptionDestination from the JsonReader.

String resourceId()

Get the resourceId property: The Azure Resource ID of an hybrid connection that is the destination of an event subscription.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

HybridConnectionEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)

Set the deliveryAttributeMappings property: Delivery attribute details.

HybridConnectionEventSubscriptionDestination withResourceId(String resourceId)

Set the resourceId property: The Azure Resource ID of an hybrid connection that is the destination of an event subscription.

Methods inherited from EventSubscriptionDestination

Methods inherited from java.lang.Object

Constructor Details

HybridConnectionEventSubscriptionDestination

public HybridConnectionEventSubscriptionDestination()

Creates an instance of HybridConnectionEventSubscriptionDestination 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:

HybridConnectionEventSubscriptionDestination.endpointType()

Returns:

the endpointType value.

fromJson

public static HybridConnectionEventSubscriptionDestination fromJson(JsonReader jsonReader)

Reads an instance of HybridConnectionEventSubscriptionDestination from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HybridConnectionEventSubscriptionDestination 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 HybridConnectionEventSubscriptionDestination.

resourceId

public String resourceId()

Get the resourceId property: The Azure Resource ID of an hybrid connection that is the destination of an event subscription.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

HybridConnectionEventSubscriptionDestination.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

HybridConnectionEventSubscriptionDestination.validate()

withDeliveryAttributeMappings

public HybridConnectionEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)

Set the deliveryAttributeMappings property: Delivery attribute details.

Parameters:

deliveryAttributeMappings - the deliveryAttributeMappings value to set.

Returns:

the HybridConnectionEventSubscriptionDestination object itself.

withResourceId

public HybridConnectionEventSubscriptionDestination withResourceId(String resourceId)

Set the resourceId property: The Azure Resource ID of an hybrid connection that is the destination of an event subscription.

Parameters:

resourceId - the resourceId value to set.

Returns:

the HybridConnectionEventSubscriptionDestination object itself.

Applies to