Send feedback
Class CopyBackupRequest (2.29.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class CopyBackupRequest
Build CopyBackupRequest for com.google.bigtable.admin.v2.CopyBackupRequest .
Inheritance
Object >
CopyBackupRequest
Static Methods
of(String sourceClusterId, String sourceBackupId)
public static CopyBackupRequest of(String sourceClusterId, String sourceBackupId)
Create a CopyBackupRequest object. It assumes the source backup is located in the same
instance and project as the destination backup, which is where the BigtableTableAdminClient is
created in. use setSourceInstance("[INSTANCE]") if the source backup is located in a different
instance. use setSourceInstance("[PROJECT]", "[INSTANCE]") if the source backup is located in a
different project.
Parameters Name Description sourceClusterId
String
sourceBackupId
String
Methods
equals(Object o)
public boolean equals(Object o)
Parameter Name Description o
Object
Overrides
hashCode()
Returns Type Description int
Overrides
setDestination(String clusterId, String backupId)
public CopyBackupRequest setDestination(String clusterId, String backupId)
setExpireTime(Instant expireTime)
public CopyBackupRequest setExpireTime(Instant expireTime)
Parameter Name Description expireTime
org.threeten.bp.Instant
setSourceInstance(String instanceId)
public CopyBackupRequest setSourceInstance(String instanceId)
Parameter Name Description instanceId
String
setSourceInstance(String projectId, String instanceId)
public CopyBackupRequest setSourceInstance(String projectId, String instanceId)
toProto(String projectId, String instanceId)
public CopyBackupRequest toProto(String projectId, String instanceId)
Returns Type Description com.google.bigtable.admin.v2.CopyBackupRequest
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 2023-11-08 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?