public final class Backup
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Backup() |
Modifier and Type | Method and Description |
---|---|
Backup |
clone() |
List<String> |
getBackupSchedules()
Output only.
|
String |
getCreateTime()
Output only.
|
String |
getDatabase()
Required for the CreateBackup operation.
|
String |
getDatabaseDialect()
Output only.
|
EncryptionInfo |
getEncryptionInfo()
Output only.
|
List<EncryptionInfo> |
getEncryptionInformation()
Output only.
|
Long |
getExclusiveSizeBytes()
Output only.
|
String |
getExpireTime()
Required for the CreateBackup operation.
|
Long |
getFreeableSizeBytes()
Output only.
|
String |
getIncrementalBackupChainId()
Output only.
|
List<BackupInstancePartition> |
getInstancePartitions()
Output only.
|
String |
getMaxExpireTime()
Output only.
|
String |
getName()
Output only for the CreateBackup operation.
|
String |
getOldestVersionTime()
Output only.
|
List<String> |
getReferencingBackups()
Output only.
|
List<String> |
getReferencingDatabases()
Output only.
|
Long |
getSizeBytes()
Output only.
|
String |
getState()
Output only.
|
String |
getVersionTime()
The backup will contain an externally consistent copy of the database at the timestamp
specified by `version_time`.
|
Backup |
set(String fieldName,
Object value) |
Backup |
setBackupSchedules(List<String> backupSchedules)
Output only.
|
Backup |
setCreateTime(String createTime)
Output only.
|
Backup |
setDatabase(String database)
Required for the CreateBackup operation.
|
Backup |
setDatabaseDialect(String databaseDialect)
Output only.
|
Backup |
setEncryptionInfo(EncryptionInfo encryptionInfo)
Output only.
|
Backup |
setEncryptionInformation(List<EncryptionInfo> encryptionInformation)
Output only.
|
Backup |
setExclusiveSizeBytes(Long exclusiveSizeBytes)
Output only.
|
Backup |
setExpireTime(String expireTime)
Required for the CreateBackup operation.
|
Backup |
setFreeableSizeBytes(Long freeableSizeBytes)
Output only.
|
Backup |
setIncrementalBackupChainId(String incrementalBackupChainId)
Output only.
|
Backup |
setInstancePartitions(List<BackupInstancePartition> instancePartitions)
Output only.
|
Backup |
setMaxExpireTime(String maxExpireTime)
Output only.
|
Backup |
setName(String name)
Output only for the CreateBackup operation.
|
Backup |
setOldestVersionTime(String oldestVersionTime)
Output only.
|
Backup |
setReferencingBackups(List<String> referencingBackups)
Output only.
|
Backup |
setReferencingDatabases(List<String> referencingDatabases)
Output only.
|
Backup |
setSizeBytes(Long sizeBytes)
Output only.
|
Backup |
setState(String state)
Output only.
|
Backup |
setVersionTime(String versionTime)
The backup will contain an externally consistent copy of the database at the timestamp
specified by `version_time`.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<String> getBackupSchedules()
null
for nonepublic Backup setBackupSchedules(List<String> backupSchedules)
backupSchedules
- backupSchedules or null
for nonepublic String getCreateTime()
null
for nonepublic Backup setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getDatabase()
null
for nonepublic Backup setDatabase(String database)
database
- database or null
for nonepublic String getDatabaseDialect()
null
for nonepublic Backup setDatabaseDialect(String databaseDialect)
databaseDialect
- databaseDialect or null
for nonepublic EncryptionInfo getEncryptionInfo()
null
for nonepublic Backup setEncryptionInfo(EncryptionInfo encryptionInfo)
encryptionInfo
- encryptionInfo or null
for nonepublic List<EncryptionInfo> getEncryptionInformation()
null
for nonepublic Backup setEncryptionInformation(List<EncryptionInfo> encryptionInformation)
encryptionInformation
- encryptionInformation or null
for nonepublic Long getExclusiveSizeBytes()
null
for nonepublic Backup setExclusiveSizeBytes(Long exclusiveSizeBytes)
exclusiveSizeBytes
- exclusiveSizeBytes or null
for nonepublic String getExpireTime()
null
for nonepublic Backup setExpireTime(String expireTime)
expireTime
- expireTime or null
for nonepublic Long getFreeableSizeBytes()
null
for nonepublic Backup setFreeableSizeBytes(Long freeableSizeBytes)
freeableSizeBytes
- freeableSizeBytes or null
for nonepublic String getIncrementalBackupChainId()
null
for nonepublic Backup setIncrementalBackupChainId(String incrementalBackupChainId)
incrementalBackupChainId
- incrementalBackupChainId or null
for nonepublic List<BackupInstancePartition> getInstancePartitions()
null
for nonepublic Backup setInstancePartitions(List<BackupInstancePartition> instancePartitions)
instancePartitions
- instancePartitions or null
for nonepublic String getMaxExpireTime()
null
for nonepublic Backup setMaxExpireTime(String maxExpireTime)
maxExpireTime
- maxExpireTime or null
for nonepublic String getName()
null
for nonepublic Backup setName(String name)
name
- name or null
for nonepublic String getOldestVersionTime()
null
for nonepublic Backup setOldestVersionTime(String oldestVersionTime)
oldestVersionTime
- oldestVersionTime or null
for nonepublic List<String> getReferencingBackups()
null
for nonepublic Backup setReferencingBackups(List<String> referencingBackups)
referencingBackups
- referencingBackups or null
for nonepublic List<String> getReferencingDatabases()
null
for nonepublic Backup setReferencingDatabases(List<String> referencingDatabases)
referencingDatabases
- referencingDatabases or null
for nonepublic Long getSizeBytes()
null
for nonepublic Backup setSizeBytes(Long sizeBytes)
sizeBytes
- sizeBytes or null
for nonepublic String getState()
null
for nonepublic Backup setState(String state)
state
- state or null
for nonepublic String getVersionTime()
null
for nonepublic Backup setVersionTime(String versionTime)
versionTime
- versionTime or null
for nonepublic Backup set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Backup clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.