次の方法で共有


EventSubscriptionDestination Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.EventSubscriptionDestination

Implements

public class EventSubscriptionDestination
implements JsonSerializable<EventSubscriptionDestination>

Information about the destination for an event subscription.

Constructor Summary

Constructor Description
EventSubscriptionDestination()

Creates an instance of EventSubscriptionDestination class.

Method Summary

Modifier and Type Method and Description
EndpointType endpointType()

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

static EventSubscriptionDestination fromJson(JsonReader jsonReader)

Reads an instance of EventSubscriptionDestination from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

EventSubscriptionDestination

public EventSubscriptionDestination()

Creates an instance of EventSubscriptionDestination class.

Method Details

endpointType

public EndpointType endpointType()

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

Returns:

the endpointType value.

fromJson

public static EventSubscriptionDestination fromJson(JsonReader jsonReader)

Reads an instance of EventSubscriptionDestination from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to