StaticSiteDatabaseConnectionConfigurationFileOverview Class

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

Implements

public final class StaticSiteDatabaseConnectionConfigurationFileOverview
implements JsonSerializable<StaticSiteDatabaseConnectionConfigurationFileOverview>

A database connection configuration file.

Constructor Summary

Constructor Description
StaticSiteDatabaseConnectionConfigurationFileOverview()

Creates an instance of StaticSiteDatabaseConnectionConfigurationFileOverview class.

Method Summary

Modifier and Type Method and Description
String contents()

Get the contents property: The Base64 encoding of the file contents.

String fileName()

Get the fileName property: The name of the configuration file.

static StaticSiteDatabaseConnectionConfigurationFileOverview fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteDatabaseConnectionConfigurationFileOverview from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of configuration file.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

StaticSiteDatabaseConnectionConfigurationFileOverview

public StaticSiteDatabaseConnectionConfigurationFileOverview()

Creates an instance of StaticSiteDatabaseConnectionConfigurationFileOverview class.

Method Details

contents

public String contents()

Get the contents property: The Base64 encoding of the file contents.

Returns:

the contents value.

fileName

public String fileName()

Get the fileName property: The name of the configuration file.

Returns:

the fileName value.

fromJson

public static StaticSiteDatabaseConnectionConfigurationFileOverview fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of configuration file.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to