public final class DatabaseBackupSetting extends Object
| Constructor and Description |
|---|
DatabaseBackupSetting() |
| Modifier and Type | Method and Description |
|---|---|
String |
connectionString()
Get the connectionString property: Contains a connection string to a database which is being backed up or
restored.
|
String |
connectionStringName()
Get the connectionStringName property: Contains a connection string name that is linked to the
SiteConfig.ConnectionStrings.
|
DatabaseType |
databaseType()
Get the databaseType property: Database type (e.g.
|
String |
name()
Get the name property: The name property.
|
void |
validate()
Validates the instance.
|
DatabaseBackupSetting |
withConnectionString(String connectionString)
Set the connectionString property: Contains a connection string to a database which is being backed up or
restored.
|
DatabaseBackupSetting |
withConnectionStringName(String connectionStringName)
Set the connectionStringName property: Contains a connection string name that is linked to the
SiteConfig.ConnectionStrings.
|
DatabaseBackupSetting |
withDatabaseType(DatabaseType databaseType)
Set the databaseType property: Database type (e.g.
|
DatabaseBackupSetting |
withName(String name)
Set the name property: The name property.
|
public DatabaseType databaseType()
public DatabaseBackupSetting withDatabaseType(DatabaseType databaseType)
databaseType - the databaseType value to set.public String name()
public DatabaseBackupSetting withName(String name)
name - the name value to set.public String connectionStringName()
public DatabaseBackupSetting withConnectionStringName(String connectionStringName)
connectionStringName - the connectionStringName value to set.public String connectionString()
public DatabaseBackupSetting withConnectionString(String connectionString)
connectionString - the connectionString value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.