Class DataProviderMetadata

java.lang.Object
com.azure.resourcemanager.appservice.models.DataProviderMetadata
All Implemented Interfaces:
com.azure.json.JsonSerializable<DataProviderMetadata>

public final class DataProviderMetadata extends Object implements com.azure.json.JsonSerializable<DataProviderMetadata>
Additional configuration for a data providers.
  • Constructor Details

    • DataProviderMetadata

      public DataProviderMetadata()
      Creates an instance of DataProviderMetadata class.
  • Method Details

    • providerName

      public String providerName()
      Get the providerName property: The providerName property.
      Returns:
      the providerName value.
    • 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.
    • propertyBag

      public List<KeyValuePairStringObject> propertyBag()
      Get the propertyBag property: Settings for the data provider.
      Returns:
      the propertyBag value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DataProviderMetadata>
      Throws:
      IOException
    • fromJson

      public static DataProviderMetadata fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.