Class DatabaseExtensions

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.models.DatabaseExtensions
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class DatabaseExtensions extends com.azure.core.management.ProxyResource
An Import, Export, or PolybaseImport resource.
  • Constructor Details

    • DatabaseExtensions

      public DatabaseExtensions()
      Creates an instance of DatabaseExtensions class.
  • Method Details

    • operationMode

      public OperationMode operationMode()
      Get the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.
      Returns:
      the operationMode value.
    • withOperationMode

      public DatabaseExtensions withOperationMode(OperationMode operationMode)
      Set the operationMode property: Operation mode of the operation: Import, Export, or PolybaseImport.
      Parameters:
      operationMode - the operationMode value to set.
      Returns:
      the DatabaseExtensions object itself.
    • storageKeyType

      public StorageKeyType storageKeyType()
      Get the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.
      Returns:
      the storageKeyType value.
    • withStorageKeyType

      public DatabaseExtensions withStorageKeyType(StorageKeyType storageKeyType)
      Set the storageKeyType property: Storage key type: StorageAccessKey or SharedAccessKey.
      Parameters:
      storageKeyType - the storageKeyType value to set.
      Returns:
      the DatabaseExtensions object itself.
    • storageKey

      public String storageKey()
      Get the storageKey property: Storage key for the storage account.
      Returns:
      the storageKey value.
    • withStorageKey

      public DatabaseExtensions withStorageKey(String storageKey)
      Set the storageKey property: Storage key for the storage account.
      Parameters:
      storageKey - the storageKey value to set.
      Returns:
      the DatabaseExtensions object itself.
    • storageUri

      public String storageUri()
      Get the storageUri property: Storage Uri for the storage account.
      Returns:
      the storageUri value.
    • withStorageUri

      public DatabaseExtensions withStorageUri(String storageUri)
      Set the storageUri property: Storage Uri for the storage account.
      Parameters:
      storageUri - the storageUri value to set.
      Returns:
      the DatabaseExtensions object itself.
    • administratorLogin

      public String administratorLogin()
      Get the administratorLogin property: Administrator login name.
      Returns:
      the administratorLogin value.
    • withAdministratorLogin

      public DatabaseExtensions withAdministratorLogin(String administratorLogin)
      Set the administratorLogin property: Administrator login name.
      Parameters:
      administratorLogin - the administratorLogin value to set.
      Returns:
      the DatabaseExtensions object itself.
    • administratorLoginPassword

      public String administratorLoginPassword()
      Get the administratorLoginPassword property: Administrator login password.
      Returns:
      the administratorLoginPassword value.
    • withAdministratorLoginPassword

      public DatabaseExtensions withAdministratorLoginPassword(String administratorLoginPassword)
      Set the administratorLoginPassword property: Administrator login password.
      Parameters:
      administratorLoginPassword - the administratorLoginPassword value to set.
      Returns:
      the DatabaseExtensions object itself.
    • authenticationType

      public String authenticationType()
      Get the authenticationType property: Authentication type: SQL authentication or AD password.
      Returns:
      the authenticationType value.
    • withAuthenticationType

      public DatabaseExtensions withAuthenticationType(String authenticationType)
      Set the authenticationType property: Authentication type: SQL authentication or AD password.
      Parameters:
      authenticationType - the authenticationType value to set.
      Returns:
      the DatabaseExtensions object itself.
    • databaseEdition

      public String databaseEdition()
      Get the databaseEdition property: Database edition for the newly created database in the case of an import operation.
      Returns:
      the databaseEdition value.
    • withDatabaseEdition

      public DatabaseExtensions withDatabaseEdition(String databaseEdition)
      Set the databaseEdition property: Database edition for the newly created database in the case of an import operation.
      Parameters:
      databaseEdition - the databaseEdition value to set.
      Returns:
      the DatabaseExtensions object itself.
    • serviceObjectiveName

      public String serviceObjectiveName()
      Get the serviceObjectiveName property: Database service level objective for the newly created database in the case of an import operation.
      Returns:
      the serviceObjectiveName value.
    • withServiceObjectiveName

      public DatabaseExtensions withServiceObjectiveName(String serviceObjectiveName)
      Set the serviceObjectiveName property: Database service level objective for the newly created database in the case of an import operation.
      Parameters:
      serviceObjectiveName - the serviceObjectiveName value to set.
      Returns:
      the DatabaseExtensions object itself.
    • maxSizeBytes

      public String maxSizeBytes()
      Get the maxSizeBytes property: Database max size in bytes for the newly created database in the case of an import operation.
      Returns:
      the maxSizeBytes value.
    • withMaxSizeBytes

      public DatabaseExtensions withMaxSizeBytes(String maxSizeBytes)
      Set the maxSizeBytes property: Database max size in bytes for the newly created database in the case of an import operation.
      Parameters:
      maxSizeBytes - the maxSizeBytes value to set.
      Returns:
      the DatabaseExtensions object itself.
    • networkIsolation

      public NetworkIsolationSettings networkIsolation()
      Get the networkIsolation property: Optional resource information to enable network isolation for request.
      Returns:
      the networkIsolation value.
    • withNetworkIsolation

      public DatabaseExtensions 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 DatabaseExtensions object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.