DataProviderMetadata Class

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

Implements

public final class DataProviderMetadata
implements JsonSerializable<DataProviderMetadata>

Additional configuration for a data providers.

Constructor Summary

Constructor Description
DataProviderMetadata()

Creates an instance of DataProviderMetadata class.

Method Summary

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

Reads an instance of DataProviderMetadata from the JsonReader.

List<KeyValuePairStringObject> propertyBag()

Get the propertyBag property: Settings for the data provider.

String providerName()

Get the providerName property: The providerName property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataProviderMetadata withProviderName(String providerName)

Set the providerName property: The providerName property.

Methods inherited from java.lang.Object

Constructor Details

DataProviderMetadata

public DataProviderMetadata()

Creates an instance of DataProviderMetadata class.

Method Details

fromJson

public static DataProviderMetadata fromJson(JsonReader jsonReader)

Reads an instance of DataProviderMetadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

propertyBag

public List propertyBag()

Get the propertyBag property: Settings for the data provider.

Returns:

the propertyBag value.

providerName

public String providerName()

Get the providerName property: The providerName property.

Returns:

the providerName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProviderName

public DataProviderMetadata withProviderName(String providerName)

Set the providerName property: The providerName property.

Parameters:

providerName - the providerName value to set.

Returns:

the DataProviderMetadata object itself.

Applies to