public final class BackupRun extends 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 SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
BackupRun() |
| Modifier and Type | Method and Description |
|---|---|
BackupRun |
clone() |
String |
getDescription()
The description of this run, only applicable to on-demand backups.
|
DiskEncryptionConfiguration |
getDiskEncryptionConfiguration()
Encryption configuration specific to a backup.
|
DiskEncryptionStatus |
getDiskEncryptionStatus()
Encryption status specific to a backup.
|
String |
getEndTime()
The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
String |
getEnqueuedTime()
The time the run was enqueued in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
OperationError |
getError()
Information about why the backup operation failed.
|
Long |
getId()
The identifier for this backup run.
|
String |
getInstance()
Name of the database instance.
|
String |
getKind()
This is always sql#backupRun.
|
String |
getLocation()
Location of the backups.
|
String |
getSelfLink()
The URI of this resource.
|
String |
getStartTime()
The time the backup operation actually started in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
String |
getStatus()
The status of this run.
|
String |
getType()
The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
|
String |
getWindowStartTime()
The start time of the backup window during which this the backup was attempted in RFC 3339
format, for example 2012-11-15T16:19:00.094Z.
|
BackupRun |
set(String fieldName,
Object value) |
BackupRun |
setDescription(String description)
The description of this run, only applicable to on-demand backups.
|
BackupRun |
setDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)
Encryption configuration specific to a backup.
|
BackupRun |
setDiskEncryptionStatus(DiskEncryptionStatus diskEncryptionStatus)
Encryption status specific to a backup.
|
BackupRun |
setEndTime(String endTime)
The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
BackupRun |
setEnqueuedTime(String enqueuedTime)
The time the run was enqueued in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
BackupRun |
setError(OperationError error)
Information about why the backup operation failed.
|
BackupRun |
setId(Long id)
The identifier for this backup run.
|
BackupRun |
setInstance(String instance)
Name of the database instance.
|
BackupRun |
setKind(String kind)
This is always sql#backupRun.
|
BackupRun |
setLocation(String location)
Location of the backups.
|
BackupRun |
setSelfLink(String selfLink)
The URI of this resource.
|
BackupRun |
setStartTime(String startTime)
The time the backup operation actually started in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
BackupRun |
setStatus(String status)
The status of this run.
|
BackupRun |
setType(String type)
The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
|
BackupRun |
setWindowStartTime(String windowStartTime)
The start time of the backup window during which this the backup was attempted in RFC 3339
format, for example 2012-11-15T16:19:00.094Z.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDescription()
null for nonepublic BackupRun setDescription(String description)
description - description or null for nonepublic DiskEncryptionConfiguration getDiskEncryptionConfiguration()
null for nonepublic BackupRun setDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)
diskEncryptionConfiguration - diskEncryptionConfiguration or null for nonepublic DiskEncryptionStatus getDiskEncryptionStatus()
null for nonepublic BackupRun setDiskEncryptionStatus(DiskEncryptionStatus diskEncryptionStatus)
diskEncryptionStatus - diskEncryptionStatus or null for nonepublic String getEndTime()
null for nonepublic BackupRun setEndTime(String endTime)
endTime - endTime or null for nonepublic String getEnqueuedTime()
null for nonepublic BackupRun setEnqueuedTime(String enqueuedTime)
enqueuedTime - enqueuedTime or null for nonepublic OperationError getError()
null for nonepublic BackupRun setError(OperationError error)
error - error or null for nonepublic Long getId()
null for nonepublic BackupRun setId(Long id)
id - id or null for nonepublic String getInstance()
null for nonepublic BackupRun setInstance(String instance)
instance - instance or null for nonepublic String getKind()
null for nonepublic BackupRun setKind(String kind)
kind - kind or null for nonepublic String getLocation()
null for nonepublic BackupRun setLocation(String location)
location - location or null for nonepublic String getSelfLink()
null for nonepublic BackupRun setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getStartTime()
null for nonepublic BackupRun setStartTime(String startTime)
startTime - startTime or null for nonepublic String getStatus()
null for nonepublic BackupRun setStatus(String status)
status - status or null for nonepublic String getType()
null for nonepublic BackupRun setType(String type)
type - type or null for nonepublic String getWindowStartTime()
null for nonepublic BackupRun setWindowStartTime(String windowStartTime)
windowStartTime - windowStartTime or null for nonepublic BackupRun set(String fieldName, Object value)
set in class GenericJsonpublic BackupRun clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.