Class Backup
- java.lang.Object
-
- com.google.cloud.bigtable.admin.v2.models.Backup
-
public class Backup extends Object
A backup lets you save a copy of a table's schema and data and restore the backup to a new table at a later time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Backup.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static Backup
fromProto(Backup proto)
EncryptionInfo
getEncryptionInfo()
Get the encryption information for the backup.org.threeten.bp.Instant
getEndTime()
Get the end time when the creation of this backup has completed.org.threeten.bp.Instant
getExpireTime()
Get the expire time of this backup.String
getId()
Get the ID of this backup.String
getInstanceId()
Get the instance ID where this backup is located.long
getSizeBytes()
Get the size of this backup.String
getSourceBackupId()
Get the source backup ID from which the backup is copied.String
getSourceTableId()
Get the source table ID from which the backup is created.org.threeten.bp.Instant
getStartTime()
Get the start time when this backup is taken.Backup.State
getState()
Get the state of this backup.int
hashCode()
-
-
-
Method Detail
-
getId
public String getId()
Get the ID of this backup.
-
getSourceTableId
public String getSourceTableId()
Get the source table ID from which the backup is created.
-
getSourceBackupId
public String getSourceBackupId()
Get the source backup ID from which the backup is copied.
-
getInstanceId
public String getInstanceId()
Get the instance ID where this backup is located.
-
getExpireTime
public org.threeten.bp.Instant getExpireTime()
Get the expire time of this backup.
-
getStartTime
@Nullable public org.threeten.bp.Instant getStartTime()
Get the start time when this backup is taken.
-
getEndTime
@Nullable public org.threeten.bp.Instant getEndTime()
Get the end time when the creation of this backup has completed.
-
getSizeBytes
public long getSizeBytes()
Get the size of this backup.
-
getState
public Backup.State getState()
Get the state of this backup.
-
getEncryptionInfo
public EncryptionInfo getEncryptionInfo()
Get the encryption information for the backup.If encryption_type is CUSTOMER_MANAGED_ENCRYPTION, kms_key_version will be filled in with status UNKNOWN.
If encryption_type is GOOGLE_DEFAULT_ENCRYPTION, all other fields will have default value.
-
-