مشاركة عبر


ExportDatabaseDefinition Class

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

Implements

public final class ExportDatabaseDefinition
implements JsonSerializable<ExportDatabaseDefinition>

Contains the information necessary to perform export database operation.

Constructor Summary

Constructor Description
ExportDatabaseDefinition()

Creates an instance of ExportDatabaseDefinition 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 ExportDatabaseDefinition fromJson(JsonReader jsonReader)

Reads an instance of ExportDatabaseDefinition 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.

ExportDatabaseDefinition withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

ExportDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

ExportDatabaseDefinition withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type.

ExportDatabaseDefinition withNetworkIsolation(NetworkIsolationSettings networkIsolation)

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

ExportDatabaseDefinition withStorageKey(String storageKey)

Set the storageKey property: Storage key.

ExportDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type.

ExportDatabaseDefinition withStorageUri(String storageUri)

Set the storageUri property: Storage Uri.

Methods inherited from java.lang.Object

Constructor Details

ExportDatabaseDefinition

public ExportDatabaseDefinition()

Creates an instance of ExportDatabaseDefinition 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 ExportDatabaseDefinition fromJson(JsonReader jsonReader)

Reads an instance of ExportDatabaseDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExportDatabaseDefinition 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 ExportDatabaseDefinition withAdministratorLogin(String administratorLogin)

Set the administratorLogin property: Administrator login name.

Parameters:

administratorLogin - the administratorLogin value to set.

Returns:

the ExportDatabaseDefinition object itself.

withAdministratorLoginPassword

public ExportDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)

Set the administratorLoginPassword property: Administrator login password.

Parameters:

administratorLoginPassword - the administratorLoginPassword value to set.

Returns:

the ExportDatabaseDefinition object itself.

withAuthenticationType

public ExportDatabaseDefinition withAuthenticationType(String authenticationType)

Set the authenticationType property: Authentication type.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the ExportDatabaseDefinition object itself.

withNetworkIsolation

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

withStorageKey

public ExportDatabaseDefinition withStorageKey(String storageKey)

Set the storageKey property: Storage key.

Parameters:

storageKey - the storageKey value to set.

Returns:

the ExportDatabaseDefinition object itself.

withStorageKeyType

public ExportDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)

Set the storageKeyType property: Storage key type.

Parameters:

storageKeyType - the storageKeyType value to set.

Returns:

the ExportDatabaseDefinition object itself.

withStorageUri

public ExportDatabaseDefinition withStorageUri(String storageUri)

Set the storageUri property: Storage Uri.

Parameters:

storageUri - the storageUri value to set.

Returns:

the ExportDatabaseDefinition object itself.

Applies to