DatabaseAccountConnectionString Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. DatabaseAccountConnectionString
- com.
Implements
public final class DatabaseAccountConnectionString
implements JsonSerializable<DatabaseAccountConnectionString>
Connection string for the Cosmos DB account.
Constructor Summary
Constructor | Description |
---|---|
DatabaseAccountConnectionString() |
Creates an instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
connectionString()
Get the connection |
String |
description()
Get the description property: Description of the connection string. |
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
Kind |
keyKind()
Get the key |
Json |
toJson(JsonWriter jsonWriter) |
Type |
type()
Get the type property: Type of the connection string. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DatabaseAccountConnectionString
public DatabaseAccountConnectionString()
Creates an instance of DatabaseAccountConnectionString class.
Method Details
connectionString
public String connectionString()
Get the connectionString property: Value of the connection string.
Returns:
description
public String description()
Get the description property: Description of the connection string.
Returns:
fromJson
public static DatabaseAccountConnectionString fromJson(JsonReader jsonReader)
Reads an instance of DatabaseAccountConnectionString from the JsonReader.
Parameters:
Returns:
Throws:
keyKind
public Kind keyKind()
Get the keyKind property: Kind of the connection string key.
Returns:
toJson
type
public Type type()
Get the type property: Type of the connection string.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java