Class CopyBackupRequest (2.67.1)
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)
Parameters |
Name |
Description |
clusterId |
String
|
backupId |
String
|
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)
Parameters |
Name |
Description |
projectId |
String
|
instanceId |
String
|
toProto(String projectId, String instanceId)
public CopyBackupRequest toProto(String projectId, String instanceId)
Parameters |
Name |
Description |
projectId |
String
|
instanceId |
String
|
Returns |
Type |
Description |
com.google.bigtable.admin.v2.CopyBackupRequest |
|
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 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]