ApiManagementConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ApiManagementConfig

Implements

public final class ApiManagementConfig
implements JsonSerializable<ApiManagementConfig>

Azure API management (APIM) configuration linked to the app.

Constructor Summary

Constructor Description
ApiManagementConfig()

Creates an instance of ApiManagementConfig class.

Method Summary

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

Reads an instance of ApiManagementConfig from the JsonReader.

String id()

Get the id property: APIM-Api Identifier.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApiManagementConfig withId(String id)

Set the id property: APIM-Api Identifier.

Methods inherited from java.lang.Object

Constructor Details

ApiManagementConfig

public ApiManagementConfig()

Creates an instance of ApiManagementConfig class.

Method Details

fromJson

public static ApiManagementConfig fromJson(JsonReader jsonReader)

Reads an instance of ApiManagementConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: APIM-Api Identifier.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public ApiManagementConfig withId(String id)

Set the id property: APIM-Api Identifier.

Parameters:

id - the id value to set.

Returns:

the ApiManagementConfig object itself.

Applies to