Del via


RestorePointProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.RestorePointProperties

Implements

public final class RestorePointProperties
implements JsonSerializable<RestorePointProperties>

Properties of a database restore point.

Constructor Summary

Constructor Description
RestorePointProperties()

Creates an instance of RestorePointProperties class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest time to which this database can be restored.

static RestorePointProperties fromJson(JsonReader jsonReader)

Reads an instance of RestorePointProperties from the JsonReader.

OffsetDateTime restorePointCreationDate()

Get the restorePointCreationDate property: The time the backup was taken.

String restorePointLabel()

Get the restorePointLabel property: The label of restore point for backup request by user.

RestorePointType restorePointType()

Get the restorePointType property: The type of restore point.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RestorePointProperties

public RestorePointProperties()

Creates an instance of RestorePointProperties class.

Method Details

earliestRestoreDate

public OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest time to which this database can be restored.

Returns:

the earliestRestoreDate value.

fromJson

public static RestorePointProperties fromJson(JsonReader jsonReader)

Reads an instance of RestorePointProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RestorePointProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RestorePointProperties.

restorePointCreationDate

public OffsetDateTime restorePointCreationDate()

Get the restorePointCreationDate property: The time the backup was taken.

Returns:

the restorePointCreationDate value.

restorePointLabel

public String restorePointLabel()

Get the restorePointLabel property: The label of restore point for backup request by user.

Returns:

the restorePointLabel value.

restorePointType

public RestorePointType restorePointType()

Get the restorePointType property: The type of restore point.

Returns:

the restorePointType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to