com.microsoft.azure.management.sql.implementation.RestorePointInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-sql Show documentation
Show all versions of azure-mgmt-sql Show documentation
This package contains Microsoft Azure SDK for SQL Management module.
/**
* 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.implementation;
import com.microsoft.azure.management.sql.RestorePointType;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.ProxyResource;
/**
* Database restore points.
*/
@JsonFlatten
public class RestorePointInner extends ProxyResource {
/**
* Resource location.
*/
@JsonProperty(value = "location", access = JsonProperty.Access.WRITE_ONLY)
private String location;
/**
* The type of restore point. Possible values include: 'CONTINUOUS',
* 'DISCRETE'.
*/
@JsonProperty(value = "properties.restorePointType", access = JsonProperty.Access.WRITE_ONLY)
private RestorePointType restorePointType;
/**
* The earliest time to which this database can be restored.
*/
@JsonProperty(value = "properties.earliestRestoreDate", access = JsonProperty.Access.WRITE_ONLY)
private DateTime earliestRestoreDate;
/**
* The time the backup was taken.
*/
@JsonProperty(value = "properties.restorePointCreationDate", access = JsonProperty.Access.WRITE_ONLY)
private DateTime restorePointCreationDate;
/**
* The label of restore point for backup request by user.
*/
@JsonProperty(value = "properties.restorePointLabel", access = JsonProperty.Access.WRITE_ONLY)
private String restorePointLabel;
/**
* Get resource location.
*
* @return the location value
*/
public String location() {
return this.location;
}
/**
* Get the type of restore point. Possible values include: 'CONTINUOUS', 'DISCRETE'.
*
* @return the restorePointType value
*/
public RestorePointType restorePointType() {
return this.restorePointType;
}
/**
* Get the earliest time to which this database can be restored.
*
* @return the earliestRestoreDate value
*/
public DateTime earliestRestoreDate() {
return this.earliestRestoreDate;
}
/**
* Get the time the backup was taken.
*
* @return the restorePointCreationDate value
*/
public DateTime restorePointCreationDate() {
return this.restorePointCreationDate;
}
/**
* Get the label of restore point for backup request by user.
*
* @return the restorePointLabel value
*/
public String restorePointLabel() {
return this.restorePointLabel;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy