Class StaticSiteDatabaseConnectionConfigurationFileOverview

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

public final class StaticSiteDatabaseConnectionConfigurationFileOverview extends Object implements com.azure.json.JsonSerializable<StaticSiteDatabaseConnectionConfigurationFileOverview>
A database connection configuration file.
  • Constructor Details

    • StaticSiteDatabaseConnectionConfigurationFileOverview

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

    • fileName

      public String fileName()
      Get the fileName property: The name of the configuration file.
      Returns:
      the fileName value.
    • contents

      public String contents()
      Get the contents property: The Base64 encoding of the file contents.
      Returns:
      the contents value.
    • type

      public String type()
      Get the type property: The type of configuration file.
      Returns:
      the type 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<StaticSiteDatabaseConnectionConfigurationFileOverview>
      Throws:
      IOException
    • fromJson

      public static StaticSiteDatabaseConnectionConfigurationFileOverview fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of StaticSiteDatabaseConnectionConfigurationFileOverview from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of StaticSiteDatabaseConnectionConfigurationFileOverview 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 StaticSiteDatabaseConnectionConfigurationFileOverview.