RestorableLocationResource Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. RestorableLocationResource
- com.
Implements
public final class RestorableLocationResource
implements JsonSerializable<RestorableLocationResource>
Properties of the regional restorable account.
Constructor Summary
Constructor | Description |
---|---|
RestorableLocationResource() |
Creates an instance of Restorable |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
creationTime()
Get the creation |
Offset |
deletionTime()
Get the deletion |
static
Restorable |
fromJson(JsonReader jsonReader)
Reads an instance of Restorable |
String |
locationName()
Get the location |
String |
regionalDatabaseAccountInstanceId()
Get the regional |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
RestorableLocationResource
public RestorableLocationResource()
Creates an instance of RestorableLocationResource class.
Method Details
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: The creation time of the regional restorable database account (ISO-8601 format).
Returns:
deletionTime
public OffsetDateTime deletionTime()
Get the deletionTime property: The time at which the regional restorable database account has been deleted (ISO-8601 format).
Returns:
fromJson
public static RestorableLocationResource fromJson(JsonReader jsonReader)
Reads an instance of RestorableLocationResource from the JsonReader.
Parameters:
Returns:
Throws:
locationName
public String locationName()
Get the locationName property: The location of the regional restorable account.
Returns:
regionalDatabaseAccountInstanceId
public String regionalDatabaseAccountInstanceId()
Get the regionalDatabaseAccountInstanceId property: The instance id of the regional restorable account.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java