public final class ConnStringInfo extends Object
| Constructor and Description |
|---|
ConnStringInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
connectionString()
Get the connectionString property: Connection string value.
|
String |
name()
Get the name property: Name of connection string.
|
ConnectionStringType |
type()
Get the type property: Type of database.
|
void |
validate()
Validates the instance.
|
ConnStringInfo |
withConnectionString(String connectionString)
Set the connectionString property: Connection string value.
|
ConnStringInfo |
withName(String name)
Set the name property: Name of connection string.
|
ConnStringInfo |
withType(ConnectionStringType type)
Set the type property: Type of database.
|
public String name()
public ConnStringInfo withName(String name)
name - the name value to set.public String connectionString()
public ConnStringInfo withConnectionString(String connectionString)
connectionString - the connectionString value to set.public ConnectionStringType type()
public ConnStringInfo withType(ConnectionStringType type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.