PartnerEventSubscriptionDestination Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. EventSubscriptionDestination - com.
azure. resourcemanager. eventgrid. models. PartnerEventSubscriptionDestination
- com.
- com.
public final class PartnerEventSubscriptionDestination
extends EventSubscriptionDestination
The PartnerEventSubscriptionDestination model.
Constructor Summary
| Constructor | Description |
|---|---|
| PartnerEventSubscriptionDestination() |
Creates an instance of Partner |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Endpoint |
endpointType()
Get the endpoint |
|
static
Partner |
fromJson(JsonReader jsonReader)
Reads an instance of Partner |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Partner |
withResourceId(String resourceId)
Set the resource |
Methods inherited from EventSubscriptionDestination
Methods inherited from java.lang.Object
Constructor Details
PartnerEventSubscriptionDestination
public PartnerEventSubscriptionDestination()
Creates an instance of PartnerEventSubscriptionDestination class.
Method Details
endpointType
public EndpointType endpointType()
Get the endpointType property: Type of the endpoint for the event subscription destination.
Overrides:
PartnerEventSubscriptionDestination.endpointType()Returns:
fromJson
public static PartnerEventSubscriptionDestination fromJson(JsonReader jsonReader)
Reads an instance of PartnerEventSubscriptionDestination from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId property: The Azure Resource Id that represents the endpoint of a Partner Destination of an event subscription.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PartnerEventSubscriptionDestination.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
PartnerEventSubscriptionDestination.validate()withResourceId
public PartnerEventSubscriptionDestination withResourceId(String resourceId)
Set the resourceId property: The Azure Resource Id that represents the endpoint of a Partner Destination of an event subscription.
Parameters:
Returns: