ContinuousBackupInformation Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.ContinuousBackupInformation

Implements

public final class ContinuousBackupInformation
implements JsonSerializable<ContinuousBackupInformation>

Information about the status of continuous backups.

Method Summary

Modifier and Type Method and Description
static ContinuousBackupInformation fromJson(JsonReader jsonReader)

Reads an instance of ContinuousBackupInformation from the JsonReader.

String latestRestorableTimestamp()

Get the latestRestorableTimestamp property: The latest restorable timestamp for a resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ContinuousBackupInformation fromJson(JsonReader jsonReader)

Reads an instance of ContinuousBackupInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContinuousBackupInformation 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 ContinuousBackupInformation.

latestRestorableTimestamp

public String latestRestorableTimestamp()

Get the latestRestorableTimestamp property: The latest restorable timestamp for a resource.

Returns:

the latestRestorableTimestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to