مشاركة عبر


ImportNewDatabaseDefinition Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ImportNewDatabaseDefinition

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 ImportNewDatabaseDefinition class.

Method Summary

Modifier and Type Method and Description
String administratorLogin()

Get the administratorLogin property: Administrator login name.

String administratorLoginPassword()

Get the administratorLoginPassword property: Administrator login password.

String authenticationType()

Get the authenticationType property: Authentication type.

String databaseName()

Get the databaseName property: Name of the import database.

String edition()

Get the edition property: Edition of the import database.

static ImportNewDatabaseDefinition fromJson(JsonReader jsonReader)

Reads an instance of ImportNewDatabaseDefinition from the JsonReader.

String maxSizeBytes()

Get the maxSizeBytes property: Max size in bytes for the import database.

NetworkIsolationSettings networkIsolation()

Get the networkIsolation property: Optional resource information to enable network isolation for request.

String serviceObjectiveName()

Get the serviceObjectiveName property: Service level objective name of the import database.

String storageKey()

Get the storageKey property: Storage key.

StorageKeyType storageKeyType()

Get the storageKeyType property: Storage key type.

String storageUri()

Get the storageUri property: Storage Uri.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ImportNewDatabaseDefinition withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

ImportNewDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

ImportNewDatabaseDefinition withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type.

ImportNewDatabaseDefinition withDatabaseName(String databaseName)

Set the databaseName property: Name of the import database.

ImportNewDatabaseDefinition withEdition(String edition)

Set the edition property: Edition of the import database.

ImportNewDatabaseDefinition withMaxSizeBytes(String maxSizeBytes)

Set the maxSizeBytes property: Max size in bytes for the import database.

ImportNewDatabaseDefinition withNetworkIsolation(NetworkIsolationSettings networkIsolation)

Set the networkIsolation property: Optional resource information to enable network isolation for request.

ImportNewDatabaseDefinition withServiceObjectiveName(String serviceObjectiveName)

Set the serviceObjectiveName property: Service level objective name of the import database.

ImportNewDatabaseDefinition withStorageKey(String storageKey)

Set the storageKey property: Storage key.

ImportNewDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type.

ImportNewDatabaseDefinition withStorageUri(String storageUri)

Set the storageUri property: Storage Uri.

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:

the administratorLogin value.

administratorLoginPassword

public String administratorLoginPassword()

Get the administratorLoginPassword property: Administrator login password.

Returns:

the administratorLoginPassword value.

authenticationType

public String authenticationType()

Get the authenticationType property: Authentication type.

Returns:

the authenticationType value.

databaseName

public String databaseName()

Get the databaseName property: Name of the import database.

Returns:

the databaseName value.

edition

public String edition()

Get the edition property: Edition of the import database.

Returns:

the edition value.

fromJson

public static ImportNewDatabaseDefinition fromJson(JsonReader jsonReader)

Reads an instance of ImportNewDatabaseDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ImportNewDatabaseDefinition if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

maxSizeBytes

public String maxSizeBytes()

Get the maxSizeBytes property: Max size in bytes for the import database.

Returns:

the maxSizeBytes value.

networkIsolation

public NetworkIsolationSettings networkIsolation()

Get the networkIsolation property: Optional resource information to enable network isolation for request.

Returns:

the networkIsolation value.

serviceObjectiveName

public String serviceObjectiveName()

Get the serviceObjectiveName property: Service level objective name of the import database.

Returns:

the serviceObjectiveName value.

storageKey

public String storageKey()

Get the storageKey property: Storage key.

Returns:

the storageKey value.

storageKeyType

public StorageKeyType storageKeyType()

Get the storageKeyType property: Storage key type.

Returns:

the storageKeyType value.

storageUri

public String storageUri()

Get the storageUri property: Storage Uri.

Returns:

the storageUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdministratorLogin

public ImportNewDatabaseDefinition withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

Parameters:

administratorLogin - the administratorLogin value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withAdministratorLoginPassword

public ImportNewDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

Parameters:

administratorLoginPassword - the administratorLoginPassword value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withAuthenticationType

public ImportNewDatabaseDefinition withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withDatabaseName

public ImportNewDatabaseDefinition withDatabaseName(String databaseName)

Set the databaseName property: Name of the import database.

Parameters:

databaseName - the databaseName value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withEdition

public ImportNewDatabaseDefinition withEdition(String edition)

Set the edition property: Edition of the import database.

Parameters:

edition - the edition value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withMaxSizeBytes

public ImportNewDatabaseDefinition withMaxSizeBytes(String maxSizeBytes)

Set the maxSizeBytes property: Max size in bytes for the import database.

Parameters:

maxSizeBytes - the maxSizeBytes value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withNetworkIsolation

public ImportNewDatabaseDefinition withNetworkIsolation(NetworkIsolationSettings networkIsolation)

Set the networkIsolation property: Optional resource information to enable network isolation for request.

Parameters:

networkIsolation - the networkIsolation value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withServiceObjectiveName

public ImportNewDatabaseDefinition withServiceObjectiveName(String serviceObjectiveName)

Set the serviceObjectiveName property: Service level objective name of the import database.

Parameters:

serviceObjectiveName - the serviceObjectiveName value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withStorageKey

public ImportNewDatabaseDefinition withStorageKey(String storageKey)

Set the storageKey property: Storage key.

Parameters:

storageKey - the storageKey value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withStorageKeyType

public ImportNewDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type.

Parameters:

storageKeyType - the storageKeyType value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

withStorageUri

public ImportNewDatabaseDefinition withStorageUri(String storageUri)

Set the storageUri property: Storage Uri.

Parameters:

storageUri - the storageUri value to set.

Returns:

the ImportNewDatabaseDefinition object itself.

Applies to