public final class BackupId
Represents an id of a Cloud Spanner backup resource.
Static Methods
of(InstanceId instanceId, String backup)
public static BackupId of(InstanceId instanceId, String backup)
Creates a BackupId
given the instance identity and backup id. The backup id must
conform to the regular expression a-z*[a-z0-9] and be between 2 and 60 characters
in length.
of(String project, String instance, String backup)
public static BackupId of(String project, String instance, String backup)
Creates a BackupId
given project, instance and backup IDs. The backup id must conform
to the regular expression a-z*[a-z0-9] and be between 2 and 60 characters in
length.
Methods
equals(Object o)
public boolean equals(Object o)
Parameter |
Name |
Description |
o |
Object
|
Overrides
getBackup()
public String getBackup()
Returns |
Type |
Description |
String |
|
getInstanceId()
public InstanceId getInstanceId()
Returns the instance id for this backup.
getName()
Returns the name of this backup.
Returns |
Type |
Description |
String |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
toString()
Returns |
Type |
Description |
String |
|
Overrides