Class RestorableLocationResource
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.RestorableLocationResource
-
public final class RestorableLocationResource extends Object
Properties of the regional restorable account.
-
-
Constructor Summary
Constructors Constructor Description RestorableLocationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimecreationTime()Get the creationTime property: The creation time of the regional restorable database account (ISO-8601 format).OffsetDateTimedeletionTime()Get the deletionTime property: The time at which the regional restorable database account has been deleted (ISO-8601 format).StringlocationName()Get the locationName property: The location of the regional restorable account.StringregionalDatabaseAccountInstanceId()Get the regionalDatabaseAccountInstanceId property: The instance id of the regional restorable account.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
locationName
public String locationName()
Get the locationName property: The location of the regional restorable account.- Returns:
- the locationName value.
-
regionalDatabaseAccountInstanceId
public String regionalDatabaseAccountInstanceId()
Get the regionalDatabaseAccountInstanceId property: The instance id of the regional restorable account.- Returns:
- the regionalDatabaseAccountInstanceId value.
-
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: The creation time of the regional restorable database account (ISO-8601 format).- Returns:
- the creationTime value.
-
deletionTime
public OffsetDateTime deletionTime()
Get the deletionTime property: The time at which the regional restorable database account has been deleted (ISO-8601 format).- Returns:
- the deletionTime value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-