DatabaseAccountListConnectionStringsResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.DatabaseAccountListConnectionStringsResultInner

Implements

public final class DatabaseAccountListConnectionStringsResultInner
implements JsonSerializable<DatabaseAccountListConnectionStringsResultInner>

The connection strings for the given database account.

Constructor Summary

Constructor Description
DatabaseAccountListConnectionStringsResultInner()

Creates an instance of DatabaseAccountListConnectionStringsResultInner class.

Method Summary

Modifier and Type Method and Description
List<DatabaseAccountConnectionString> connectionStrings()

Get the connectionStrings property: An array that contains the connection strings for the Cosmos DB account.

static DatabaseAccountListConnectionStringsResultInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseAccountListConnectionStringsResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DatabaseAccountListConnectionStringsResultInner withConnectionStrings(List<DatabaseAccountConnectionString> connectionStrings)

Set the connectionStrings property: An array that contains the connection strings for the Cosmos DB account.

Methods inherited from java.lang.Object

Constructor Details

DatabaseAccountListConnectionStringsResultInner

public DatabaseAccountListConnectionStringsResultInner()

Creates an instance of DatabaseAccountListConnectionStringsResultInner class.

Method Details

connectionStrings

public List connectionStrings()

Get the connectionStrings property: An array that contains the connection strings for the Cosmos DB account.

Returns:

the connectionStrings value.

fromJson

public static DatabaseAccountListConnectionStringsResultInner fromJson(JsonReader jsonReader)

Reads an instance of DatabaseAccountListConnectionStringsResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withConnectionStrings

public DatabaseAccountListConnectionStringsResultInner withConnectionStrings(List connectionStrings)

Set the connectionStrings property: An array that contains the connection strings for the Cosmos DB account.

Parameters:

connectionStrings - the connectionStrings value to set.

Returns:

the DatabaseAccountListConnectionStringsResultInner object itself.

Applies to