Class CopyBackupRequest
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.CopyBackupRequest
Build CopyBackupRequest for
CopyBackupRequest
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static CopyBackupRequest
Create aCopyBackupRequest
object.setDestination
(String clusterId, String backupId) setExpireTime
(org.threeten.bp.Instant expireTime) setSourceInstance
(String instanceId) setSourceInstance
(String projectId, String instanceId) com.google.bigtable.admin.v2.CopyBackupRequest
-
Method Details
-
of
Create aCopyBackupRequest
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. -
setSourceInstance
-
setSourceInstance
-
setDestination
-
setExpireTime
-
equals
-
hashCode
public int hashCode() -
toProto
-