public final class BackupRun
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 SQL Admin 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| Constructor and Description |
|---|
BackupRun() |
| Modifier and Type | Method and Description |
|---|---|
BackupRun |
clone() |
java.lang.String |
getDescription()
The description of this run, only applicable to on-demand backups.
|
com.google.api.client.util.DateTime |
getEndTime()
The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
com.google.api.client.util.DateTime |
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.
|
java.lang.Long |
getId()
The identifier for this backup run.
|
java.lang.String |
getInstance()
Name of the database instance.
|
java.lang.String |
getKind()
This is always sql#backupRun.
|
java.lang.String |
getLocation()
The location of the backup.
|
java.lang.String |
getSelfLink()
The URI of this resource.
|
com.google.api.client.util.DateTime |
getStartTime()
The time the backup operation actually started in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
java.lang.String |
getStatus()
The status of this run.
|
java.lang.String |
getType()
The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
|
com.google.api.client.util.DateTime |
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(java.lang.String fieldName,
java.lang.Object value) |
BackupRun |
setDescription(java.lang.String description)
The description of this run, only applicable to on-demand backups.
|
BackupRun |
setEndTime(com.google.api.client.util.DateTime endTime)
The time the backup operation completed in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
BackupRun |
setEnqueuedTime(com.google.api.client.util.DateTime 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(java.lang.Long id)
The identifier for this backup run.
|
BackupRun |
setInstance(java.lang.String instance)
Name of the database instance.
|
BackupRun |
setKind(java.lang.String kind)
This is always sql#backupRun.
|
BackupRun |
setLocation(java.lang.String location)
The location of the backup.
|
BackupRun |
setSelfLink(java.lang.String selfLink)
The URI of this resource.
|
BackupRun |
setStartTime(com.google.api.client.util.DateTime 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(java.lang.String status)
The status of this run.
|
BackupRun |
setType(java.lang.String type)
The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
|
BackupRun |
setWindowStartTime(com.google.api.client.util.DateTime 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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getDescription()
null for nonepublic BackupRun setDescription(java.lang.String description)
description - description or null for nonepublic com.google.api.client.util.DateTime getEndTime()
null for nonepublic BackupRun setEndTime(com.google.api.client.util.DateTime endTime)
endTime - endTime or null for nonepublic com.google.api.client.util.DateTime getEnqueuedTime()
null for nonepublic BackupRun setEnqueuedTime(com.google.api.client.util.DateTime enqueuedTime)
enqueuedTime - enqueuedTime or null for nonepublic OperationError getError()
null for nonepublic BackupRun setError(OperationError error)
error - error or null for nonepublic java.lang.Long getId()
null for nonepublic BackupRun setId(java.lang.Long id)
id - id or null for nonepublic java.lang.String getInstance()
null for nonepublic BackupRun setInstance(java.lang.String instance)
instance - instance or null for nonepublic java.lang.String getKind()
null for nonepublic BackupRun setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getLocation()
null for nonepublic BackupRun setLocation(java.lang.String location)
location - location or null for nonepublic java.lang.String getSelfLink()
null for nonepublic BackupRun setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic com.google.api.client.util.DateTime getStartTime()
null for nonepublic BackupRun setStartTime(com.google.api.client.util.DateTime startTime)
startTime - startTime or null for nonepublic java.lang.String getStatus()
null for nonepublic BackupRun setStatus(java.lang.String status)
status - status or null for nonepublic java.lang.String getType()
null for nonepublic BackupRun setType(java.lang.String type)
type - type or null for nonepublic com.google.api.client.util.DateTime getWindowStartTime()
null for nonepublic BackupRun setWindowStartTime(com.google.api.client.util.DateTime windowStartTime)
windowStartTime - windowStartTime or null for nonepublic BackupRun set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic BackupRun clone()
clone in class com.google.api.client.json.GenericJson