ImportNewDatabaseDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ImportNewDatabaseDefinition
- com.
Implements
public final class ImportNewDatabaseDefinition
implements JsonSerializable<ImportNewDatabaseDefinition>
Contains the information necessary to perform import operation for new database.
Constructor Summary
| Constructor | Description |
|---|---|
| ImportNewDatabaseDefinition() |
Creates an instance of Import |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
administratorLogin()
Get the administrator |
| String |
administratorLoginPassword()
Get the administrator |
| String |
authenticationType()
Get the authentication |
| String |
databaseName()
Get the database |
| String |
edition()
Get the edition property: Edition of the import database. |
|
static
Import |
fromJson(JsonReader jsonReader)
Reads an instance of Import |
| String |
maxSizeBytes()
Get the max |
|
Network |
networkIsolation()
Get the network |
| String |
serviceObjectiveName()
Get the service |
| String |
storageKey()
Get the storage |
|
Storage |
storageKeyType()
Get the storage |
| String |
storageUri()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Import |
withAdministratorLogin(String administratorLogin)
Set the administrator |
|
Import |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator |
|
Import |
withAuthenticationType(String authenticationType)
Set the authentication |
|
Import |
withDatabaseName(String databaseName)
Set the database |
|
Import |
withEdition(String edition)
Set the edition property: Edition of the import database. |
|
Import |
withMaxSizeBytes(String maxSizeBytes)
Set the max |
|
Import |
withNetworkIsolation(NetworkIsolationSettings networkIsolation)
Set the network |
|
Import |
withServiceObjectiveName(String serviceObjectiveName)
Set the service |
|
Import |
withStorageKey(String storageKey)
Set the storage |
|
Import |
withStorageKeyType(StorageKeyType storageKeyType)
Set the storage |
|
Import |
withStorageUri(String storageUri)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
ImportNewDatabaseDefinition
public ImportNewDatabaseDefinition()
Creates an instance of ImportNewDatabaseDefinition class.
Method Details
administratorLogin
public String administratorLogin()
Get the administratorLogin property: Administrator login name.
Returns:
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: Administrator login password.
Returns:
authenticationType
public String authenticationType()
Get the authenticationType property: Authentication type.
Returns:
databaseName
public String databaseName()
Get the databaseName property: Name of the import database.
Returns:
edition
public String edition()
Get the edition property: Edition of the import database.
Returns:
fromJson
public static ImportNewDatabaseDefinition fromJson(JsonReader jsonReader)
Reads an instance of ImportNewDatabaseDefinition from the JsonReader.
Parameters:
Returns:
Throws:
maxSizeBytes
public String maxSizeBytes()
Get the maxSizeBytes property: Max size in bytes for the import database.
Returns:
networkIsolation
public NetworkIsolationSettings networkIsolation()
Get the networkIsolation property: Optional resource information to enable network isolation for request.
Returns:
serviceObjectiveName
public String serviceObjectiveName()
Get the serviceObjectiveName property: Service level objective name of the import database.
Returns:
storageKey
public String storageKey()
Get the storageKey property: Storage key.
Returns:
storageKeyType
public StorageKeyType storageKeyType()
Get the storageKeyType property: Storage key type.
Returns:
storageUri
public String storageUri()
Get the storageUri property: Storage Uri.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdministratorLogin
public ImportNewDatabaseDefinition withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: Administrator login name.
Parameters:
Returns:
withAdministratorLoginPassword
public ImportNewDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: Administrator login password.
Parameters:
Returns:
withAuthenticationType
public ImportNewDatabaseDefinition withAuthenticationType(String authenticationType)
Set the authenticationType property: Authentication type.
Parameters:
Returns:
withDatabaseName
public ImportNewDatabaseDefinition withDatabaseName(String databaseName)
Set the databaseName property: Name of the import database.
Parameters:
Returns:
withEdition
public ImportNewDatabaseDefinition withEdition(String edition)
Set the edition property: Edition of the import database.
Parameters:
Returns:
withMaxSizeBytes
public ImportNewDatabaseDefinition withMaxSizeBytes(String maxSizeBytes)
Set the maxSizeBytes property: Max size in bytes for the import database.
Parameters:
Returns:
withNetworkIsolation
public ImportNewDatabaseDefinition withNetworkIsolation(NetworkIsolationSettings networkIsolation)
Set the networkIsolation property: Optional resource information to enable network isolation for request.
Parameters:
Returns:
withServiceObjectiveName
public ImportNewDatabaseDefinition withServiceObjectiveName(String serviceObjectiveName)
Set the serviceObjectiveName property: Service level objective name of the import database.
Parameters:
Returns:
withStorageKey
public ImportNewDatabaseDefinition withStorageKey(String storageKey)
Set the storageKey property: Storage key.
Parameters:
Returns:
withStorageKeyType
public ImportNewDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)
Set the storageKeyType property: Storage key type.
Parameters:
Returns:
withStorageUri
public ImportNewDatabaseDefinition withStorageUri(String storageUri)
Set the storageUri property: Storage Uri.
Parameters:
Returns: