Class ExportDatabaseDefinition
java.lang.Object
com.azure.resourcemanager.sql.models.ExportDatabaseDefinition
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExportDatabaseDefinition>
public final class ExportDatabaseDefinition
extends Object
implements com.azure.json.JsonSerializable<ExportDatabaseDefinition>
Contains the information necessary to perform export database operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExportDatabaseDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administratorLogin property: Administrator login name.Get the administratorLoginPassword property: Administrator login password.Get the authenticationType property: Authentication type.static ExportDatabaseDefinitionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExportDatabaseDefinition from the JsonReader.Get the networkIsolation property: Optional resource information to enable network isolation for request.Get the storageKey property: Storage key.Get the storageKeyType property: Storage key type.Get the storageUri property: Storage Uri.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAdministratorLogin(String administratorLogin) Set the administratorLogin property: Administrator login name.withAdministratorLoginPassword(String administratorLoginPassword) Set the administratorLoginPassword property: Administrator login password.withAuthenticationType(String authenticationType) Set the authenticationType property: Authentication type.withNetworkIsolation(NetworkIsolationSettings networkIsolation) Set the networkIsolation property: Optional resource information to enable network isolation for request.withStorageKey(String storageKey) Set the storageKey property: Storage key.withStorageKeyType(StorageKeyType storageKeyType) Set the storageKeyType property: Storage key type.withStorageUri(String storageUri) Set the storageUri property: Storage Uri.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExportDatabaseDefinition
public ExportDatabaseDefinition()Creates an instance of ExportDatabaseDefinition class.
-
-
Method Details
-
storageKeyType
Get the storageKeyType property: Storage key type.- Returns:
- the storageKeyType value.
-
withStorageKeyType
Set the storageKeyType property: Storage key type.- Parameters:
storageKeyType- the storageKeyType value to set.- Returns:
- the ExportDatabaseDefinition object itself.
-
storageKey
-
withStorageKey
Set the storageKey property: Storage key.- Parameters:
storageKey- the storageKey value to set.- Returns:
- the ExportDatabaseDefinition object itself.
-
storageUri
-
withStorageUri
Set the storageUri property: Storage Uri.- Parameters:
storageUri- the storageUri value to set.- Returns:
- the ExportDatabaseDefinition object itself.
-
administratorLogin
Get the administratorLogin property: Administrator login name.- Returns:
- the administratorLogin value.
-
withAdministratorLogin
Set the administratorLogin property: Administrator login name.- Parameters:
administratorLogin- the administratorLogin value to set.- Returns:
- the ExportDatabaseDefinition object itself.
-
administratorLoginPassword
Get the administratorLoginPassword property: Administrator login password.- Returns:
- the administratorLoginPassword value.
-
withAdministratorLoginPassword
Set the administratorLoginPassword property: Administrator login password.- Parameters:
administratorLoginPassword- the administratorLoginPassword value to set.- Returns:
- the ExportDatabaseDefinition object itself.
-
authenticationType
Get the authenticationType property: Authentication type.- Returns:
- the authenticationType value.
-
withAuthenticationType
Set the authenticationType property: Authentication type.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the ExportDatabaseDefinition object itself.
-
networkIsolation
Get the networkIsolation property: Optional resource information to enable network isolation for request.- Returns:
- the networkIsolation value.
-
withNetworkIsolation
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ExportDatabaseDefinition>- Throws:
IOException
-
fromJson
public static ExportDatabaseDefinition fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ExportDatabaseDefinition.
-