Class CompleteDatabaseRestoreDefinition
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.CompleteDatabaseRestoreDefinition
-
public final class CompleteDatabaseRestoreDefinition extends Object
Contains the information necessary to perform a complete database restore operation.
-
-
Constructor Summary
Constructors Constructor Description CompleteDatabaseRestoreDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlastBackupName()Get the lastBackupName property: The last backup name to apply.voidvalidate()Validates the instance.CompleteDatabaseRestoreDefinitionwithLastBackupName(String lastBackupName)Set the lastBackupName property: The last backup name to apply.
-
-
-
Method Detail
-
lastBackupName
public String lastBackupName()
Get the lastBackupName property: The last backup name to apply.- Returns:
- the lastBackupName value.
-
withLastBackupName
public CompleteDatabaseRestoreDefinition withLastBackupName(String lastBackupName)
Set the lastBackupName property: The last backup name to apply.- Parameters:
lastBackupName- the lastBackupName value to set.- Returns:
- the CompleteDatabaseRestoreDefinition object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-