مشاركة عبر


ImportExistingDatabaseDefinition Class

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

Implements

public final class ImportExistingDatabaseDefinition
implements JsonSerializable<ImportExistingDatabaseDefinition>

Contains the information necessary to perform import operation for existing database.

Constructor Summary

Constructor Description
ImportExistingDatabaseDefinition()

Creates an instance of ImportExistingDatabaseDefinition 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.

static ImportExistingDatabaseDefinition fromJson(JsonReader jsonReader)

Reads an instance of ImportExistingDatabaseDefinition from the JsonReader.

NetworkIsolationSettings networkIsolation()

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

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.

ImportExistingDatabaseDefinition withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

ImportExistingDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

ImportExistingDatabaseDefinition withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type.

ImportExistingDatabaseDefinition withNetworkIsolation(NetworkIsolationSettings networkIsolation)

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

ImportExistingDatabaseDefinition withStorageKey(String storageKey)

Set the storageKey property: Storage key.

ImportExistingDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type.

ImportExistingDatabaseDefinition withStorageUri(String storageUri)

Set the storageUri property: Storage Uri.

Methods inherited from java.lang.Object

Constructor Details

ImportExistingDatabaseDefinition

public ImportExistingDatabaseDefinition()

Creates an instance of ImportExistingDatabaseDefinition 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.

fromJson

public static ImportExistingDatabaseDefinition fromJson(JsonReader jsonReader)

Reads an instance of ImportExistingDatabaseDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ImportExistingDatabaseDefinition 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.

networkIsolation

public NetworkIsolationSettings networkIsolation()

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

Returns:

the networkIsolation 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 ImportExistingDatabaseDefinition withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

Parameters:

administratorLogin - the administratorLogin value to set.

Returns:

the ImportExistingDatabaseDefinition object itself.

withAdministratorLoginPassword

public ImportExistingDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

Parameters:

administratorLoginPassword - the administratorLoginPassword value to set.

Returns:

the ImportExistingDatabaseDefinition object itself.

withAuthenticationType

public ImportExistingDatabaseDefinition withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the ImportExistingDatabaseDefinition object itself.

withNetworkIsolation

public ImportExistingDatabaseDefinition 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 ImportExistingDatabaseDefinition object itself.

withStorageKey

public ImportExistingDatabaseDefinition withStorageKey(String storageKey)

Set the storageKey property: Storage key.

Parameters:

storageKey - the storageKey value to set.

Returns:

the ImportExistingDatabaseDefinition object itself.

withStorageKeyType

public ImportExistingDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type.

Parameters:

storageKeyType - the storageKeyType value to set.

Returns:

the ImportExistingDatabaseDefinition object itself.

withStorageUri

public ImportExistingDatabaseDefinition withStorageUri(String storageUri)

Set the storageUri property: Storage Uri.

Parameters:

storageUri - the storageUri value to set.

Returns:

the ImportExistingDatabaseDefinition object itself.

Applies to