Class DatabaseAccountListConnectionStringsResultInner
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.fluent.models.DatabaseAccountListConnectionStringsResultInner
-
public final class DatabaseAccountListConnectionStringsResultInner extends Object
The connection strings for the given database account.
-
-
Constructor Summary
Constructors Constructor Description DatabaseAccountListConnectionStringsResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DatabaseAccountConnectionString>connectionStrings()Get the connectionStrings property: An array that contains the connection strings for the Cosmos DB account.voidvalidate()Validates the instance.DatabaseAccountListConnectionStringsResultInnerwithConnectionStrings(List<DatabaseAccountConnectionString> connectionStrings)Set the connectionStrings property: An array that contains the connection strings for the Cosmos DB account.
-
-
-
Method Detail
-
connectionStrings
public List<DatabaseAccountConnectionString> connectionStrings()
Get the connectionStrings property: An array that contains the connection strings for the Cosmos DB account.- Returns:
- the connectionStrings value.
-
withConnectionStrings
public DatabaseAccountListConnectionStringsResultInner withConnectionStrings(List<DatabaseAccountConnectionString> 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-