Lezen in het Engels

Delen via


ApiManagementGatewayApiAddedEventData Class

  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.ApiManagementGatewayApiAddedEventData

Implements

public final class ApiManagementGatewayApiAddedEventData
implements JsonSerializable<ApiManagementGatewayApiAddedEventData>

Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayAPIAdded event.

Constructor Summary

Constructor Description
ApiManagementGatewayApiAddedEventData()

Creates an instance of ApiManagementGatewayApiAddedEventData class.

Method Summary

Modifier and Type Method and Description
static ApiManagementGatewayApiAddedEventData fromJson(JsonReader jsonReader)

Reads an instance of ApiManagementGatewayApiAddedEventData from the JsonReader.

String getResourceUri()

Get the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type.

ApiManagementGatewayApiAddedEventData setResourceUri(String resourceUri)

Set the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ApiManagementGatewayApiAddedEventData

public ApiManagementGatewayApiAddedEventData()

Creates an instance of ApiManagementGatewayApiAddedEventData class.

Method Details

fromJson

public static ApiManagementGatewayApiAddedEventData fromJson(JsonReader jsonReader)

Reads an instance of ApiManagementGatewayApiAddedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getResourceUri

public String getResourceUri()

Get the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//apis/`.

Returns:

the resourceUri value.

setResourceUri

public ApiManagementGatewayApiAddedEventData setResourceUri(String resourceUri)

Set the resourceUri property: The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//apis/`.

Parameters:

resourceUri - the resourceUri value to set.

Returns:

the ApiManagementGatewayApiAddedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest