Send feedback
Class BackupId (6.68.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.68.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-08-21 UTC.",
"confidential": False
}