Package com.google.cloud.spanner
Class BackupId
java.lang.Object
com.google.cloud.spanner.BackupId
Represents an id of a Cloud Spanner backup resource.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the backup id.Returns the instance id for this backup.getName()Returns the name of this backup.inthashCode()static BackupIdof(InstanceId instanceId, String backup) Creates aBackupIdgiven the instance identity and backup id.static BackupIdCreates aBackupIdgiven project, instance and backup IDs.toString()
-
Method Details
-
getInstanceId
Returns the instance id for this backup. -
getBackup
Returns the backup id. -
getName
Returns the name of this backup. -
hashCode
public int hashCode() -
equals
-
toString
-
of
Creates aBackupIdgiven project, instance and backup IDs. The backup id must conform to the regular expression [a-z][a-z0-9_\-]*[a-z0-9] and be between 2 and 60 characters in length. -
of
Creates aBackupIdgiven the instance identity and backup id. The backup id must conform to the regular expression [a-z][a-z0-9_\-]*[a-z0-9] and be between 2 and 60 characters in length.
-