Lezen in het Engels

Delen via


ApiManagementGatewayHostnameConfigurationUpdatedEventData Class

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

Implements

public final class ApiManagementGatewayHostnameConfigurationUpdatedEventData
implements JsonSerializable<ApiManagementGatewayHostnameConfigurationUpdatedEventData>

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

Constructor Summary

Constructor Description
ApiManagementGatewayHostnameConfigurationUpdatedEventData()

Creates an instance of ApiManagementGatewayHostnameConfigurationUpdatedEventData class.

Method Summary

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

Reads an instance of ApiManagementGatewayHostnameConfigurationUpdatedEventData 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.

ApiManagementGatewayHostnameConfigurationUpdatedEventData 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

ApiManagementGatewayHostnameConfigurationUpdatedEventData

public ApiManagementGatewayHostnameConfigurationUpdatedEventData()

Creates an instance of ApiManagementGatewayHostnameConfigurationUpdatedEventData class.

Method Details

fromJson

public static ApiManagementGatewayHostnameConfigurationUpdatedEventData fromJson(JsonReader jsonReader)

Reads an instance of ApiManagementGatewayHostnameConfigurationUpdatedEventData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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//hostnameConfigurations/`.

Returns:

the resourceUri value.

setResourceUri

public ApiManagementGatewayHostnameConfigurationUpdatedEventData 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//hostnameConfigurations/`.

Parameters:

resourceUri - the resourceUri value to set.

Returns:

the ApiManagementGatewayHostnameConfigurationUpdatedEventData object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to

Azure SDK for Java

Latest