public final class BackupInfo
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 |
---|
BackupInfo() |
Modifier and Type | Method and Description |
---|---|
BackupInfo |
clone() |
String |
getBackup()
Name of the backup.
|
String |
getCreateTime()
The time the CreateBackup request was received.
|
String |
getSourceDatabase()
Name of the database the backup was created from.
|
String |
getVersionTime()
The backup contains an externally consistent copy of `source_database` at the timestamp
specified by `version_time`.
|
BackupInfo |
set(String fieldName,
Object value) |
BackupInfo |
setBackup(String backup)
Name of the backup.
|
BackupInfo |
setCreateTime(String createTime)
The time the CreateBackup request was received.
|
BackupInfo |
setSourceDatabase(String sourceDatabase)
Name of the database the backup was created from.
|
BackupInfo |
setVersionTime(String versionTime)
The backup contains an externally consistent copy of `source_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 String getBackup()
null
for nonepublic BackupInfo setBackup(String backup)
backup
- backup or null
for nonepublic String getCreateTime()
null
for nonepublic BackupInfo setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getSourceDatabase()
null
for nonepublic BackupInfo setSourceDatabase(String sourceDatabase)
sourceDatabase
- sourceDatabase or null
for nonepublic String getVersionTime()
null
for nonepublic BackupInfo setVersionTime(String versionTime)
versionTime
- versionTime or null
for nonepublic BackupInfo set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public BackupInfo clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.