RestorePointInner Class

public final class RestorePointInner
extends ProxyResource

Database restore points.

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 RestorePointInner fromJson(JsonReader jsonReader)

Reads an instance of RestorePointInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String location()

Get the location property: Resource location.

String name()

Get the name property: The name of the resource.

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.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

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 RestorePointInner fromJson(JsonReader jsonReader)

Reads an instance of RestorePointInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RestorePointInner.id()

Returns:

the id value.

location

public String location()

Get the location property: Resource location.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RestorePointInner.name()

Returns:

the name value.

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.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RestorePointInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RestorePointInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to