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 Summary
ConstructorsConstructorDescriptionCreates an instance of StaticSiteDatabaseConnectionConfigurationFileOverview class. -
Method Summary
Modifier and TypeMethodDescriptioncontents()Get the contents property: The Base64 encoding of the file contents.fileName()Get the fileName property: The name of the configuration file.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StaticSiteDatabaseConnectionConfigurationFileOverview from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of configuration file.voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StaticSiteDatabaseConnectionConfigurationFileOverview
public StaticSiteDatabaseConnectionConfigurationFileOverview()Creates an instance of StaticSiteDatabaseConnectionConfigurationFileOverview class.
-
-
Method Details
-
fileName
Get the fileName property: The name of the configuration file.- Returns:
- the fileName value.
-
contents
Get the contents property: The Base64 encoding of the file contents.- Returns:
- the contents value.
-
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
- Specified by:
toJsonin interfacecom.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.
-