Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql;
import com.fasterxml.jackson.annotation.JsonProperty;
Contains the information necessary to perform a complete database restore
operation.
/**
* Contains the information necessary to perform a complete database restore
* operation.
*/
public class CompleteDatabaseRestoreDefinition {
The last backup name to apply.
/**
* The last backup name to apply.
*/
@JsonProperty(value = "lastBackupName", required = true)
private String lastBackupName;
Get the last backup name to apply.
Returns: the lastBackupName value
/**
* Get the last backup name to apply.
*
* @return the lastBackupName value
*/
public String lastBackupName() {
return this.lastBackupName;
}
Set the last backup name to apply.
Params: - lastBackupName – the lastBackupName value to set
Returns: the CompleteDatabaseRestoreDefinition object itself.
/**
* Set the last backup name to apply.
*
* @param lastBackupName the lastBackupName value to set
* @return the CompleteDatabaseRestoreDefinition object itself.
*/
public CompleteDatabaseRestoreDefinition withLastBackupName(String lastBackupName) {
this.lastBackupName = lastBackupName;
return this;
}
}