Modifier and Type | Class and Description |
---|---|
static class |
BackupInfo.Builder |
static class |
BackupInfo.State
State of the backup.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
DatabaseId |
getDatabase()
Returns the id of the database that was used to create the backup.
|
BackupEncryptionConfig |
getEncryptionConfig()
Returns the
BackupEncryptionConfig to encrypt the backup during its creation. |
EncryptionInfo |
getEncryptionInfo()
Returns the
EncryptionInfo of the backup if the backup is encrypted, or null
if this backup is not encrypted. |
com.google.cloud.Timestamp |
getExpireTime()
Returns the expire time of the backup.
|
BackupId |
getId()
Returns the backup id.
|
InstanceId |
getInstanceId()
Returns the id of the instance that the backup belongs to.
|
com.google.cloud.Timestamp |
getMaxExpireTime()
Returns the max expire time of this
Backup . |
Backup |
getProto()
Returns the raw proto instance that was used to construct this
Backup . |
List<String> |
getReferencingBackups()
Returns the names of the destination backups being created by copying this source backup
Backup . |
long |
getSize()
Returns the size of the backup in bytes.
|
BackupInfo.State |
getState()
Returns the state of the backup.
|
com.google.cloud.Timestamp |
getVersionTime()
Returns the version time of the backup.
|
int |
hashCode() |
String |
toString() |
public BackupId getId()
public InstanceId getInstanceId()
public BackupInfo.State getState()
public long getSize()
public BackupEncryptionConfig getEncryptionConfig()
BackupEncryptionConfig
to encrypt the backup during its creation. Returns
null
if no customer-managed encryption key should be used.public EncryptionInfo getEncryptionInfo()
EncryptionInfo
of the backup if the backup is encrypted, or null
if this backup is not encrypted.public com.google.cloud.Timestamp getExpireTime()
public com.google.cloud.Timestamp getVersionTime()
public DatabaseId getDatabase()
@Nullable public Backup getProto()
Backup
.public com.google.cloud.Timestamp getMaxExpireTime()
Backup
.public List<String> getReferencingBackups()
Backup
.Copyright © 2022 Google LLC. All rights reserved.