Class DatabaseAccountConnectionString
java.lang.Object
com.azure.resourcemanager.cosmos.models.DatabaseAccountConnectionString
Connection string for the Cosmos DB account.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DatabaseAccountConnectionString class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionString property: Value of the connection string.Get the description property: Description of the connection string.keyKind()Get the keyKind property: Kind of the connection string key.type()Get the type property: Type of the connection string.voidvalidate()Validates the instance.
-
Constructor Details
-
DatabaseAccountConnectionString
public DatabaseAccountConnectionString()Creates an instance of DatabaseAccountConnectionString class.
-
-
Method Details
-
connectionString
Get the connectionString property: Value of the connection string.- Returns:
- the connectionString value.
-
description
Get the description property: Description of the connection string.- Returns:
- the description value.
-
keyKind
Get the keyKind property: Kind of the connection string key.- Returns:
- the keyKind value.
-
type
Get the type property: Type of the connection string.- Returns:
- the type value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-