target.apidocs.com.google.api.services.sqladmin.model.BackupRun.html Maven / Gradle / Ivy
The newest version!
BackupRun (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin.model
Class BackupRun
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sqladmin.model.BackupRun
-
public final class BackupRun
extends com.google.api.client.json.GenericJson
A BackupRun resource.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
BackupRun()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
BackupRun
clone()
String
getBackupKind()
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
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](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
String
getEnqueuedTime()
The time the run was enqueued in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) 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.
Long
getMaxChargeableBytes()
Output only.
String
getSelfLink()
The URI of this resource.
String
getStartTime()
The time the backup operation actually started in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
String
getStatus()
The status of this run.
String
getTimeZone()
Backup time zone to prevent restores to an instance with a different time zone.
String
getType()
The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
String
getWindowStartTime()
The start time of the backup window during which this the backup was attempted in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
BackupRun
set(String fieldName,
Object value)
BackupRun
setBackupKind(String backupKind)
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
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](https://tools.ietf.org/html/rfc3339) 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](https://tools.ietf.org/html/rfc3339) 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
setMaxChargeableBytes(Long maxChargeableBytes)
Output only.
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](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
BackupRun
setStatus(String status)
The status of this run.
BackupRun
setTimeZone(String timeZone)
Backup time zone to prevent restores to an instance with a different time zone.
BackupRun
setType(String type)
The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL".
BackupRun
setWindowStartTime(String windowStartTime)
The start time of the backup window during which this the backup was attempted in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBackupKind
public String getBackupKind()
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- Returns:
- value or
null
for none
-
setBackupKind
public BackupRun setBackupKind(String backupKind)
Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
- Parameters:
backupKind
- backupKind or null
for none
-
getDescription
public String getDescription()
The description of this run, only applicable to on-demand backups.
- Returns:
- value or
null
for none
-
setDescription
public BackupRun setDescription(String description)
The description of this run, only applicable to on-demand backups.
- Parameters:
description
- description or null
for none
-
getDiskEncryptionConfiguration
public DiskEncryptionConfiguration getDiskEncryptionConfiguration()
Encryption configuration specific to a backup.
- Returns:
- value or
null
for none
-
setDiskEncryptionConfiguration
public BackupRun setDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)
Encryption configuration specific to a backup.
- Parameters:
diskEncryptionConfiguration
- diskEncryptionConfiguration or null
for none
-
getDiskEncryptionStatus
public DiskEncryptionStatus getDiskEncryptionStatus()
Encryption status specific to a backup.
- Returns:
- value or
null
for none
-
setDiskEncryptionStatus
public BackupRun setDiskEncryptionStatus(DiskEncryptionStatus diskEncryptionStatus)
Encryption status specific to a backup.
- Parameters:
diskEncryptionStatus
- diskEncryptionStatus or null
for none
-
getEndTime
public String getEndTime()
The time the backup operation completed in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Returns:
- value or
null
for none
-
setEndTime
public BackupRun setEndTime(String endTime)
The time the backup operation completed in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Parameters:
endTime
- endTime or null
for none
-
getEnqueuedTime
public String getEnqueuedTime()
The time the run was enqueued in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Returns:
- value or
null
for none
-
setEnqueuedTime
public BackupRun setEnqueuedTime(String enqueuedTime)
The time the run was enqueued in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Parameters:
enqueuedTime
- enqueuedTime or null
for none
-
getError
public OperationError getError()
Information about why the backup operation failed. This is only present if the run has the
FAILED status.
- Returns:
- value or
null
for none
-
setError
public BackupRun setError(OperationError error)
Information about why the backup operation failed. This is only present if the run has the
FAILED status.
- Parameters:
error
- error or null
for none
-
getId
public Long getId()
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
- Returns:
- value or
null
for none
-
setId
public BackupRun setId(Long id)
The identifier for this backup run. Unique only for a specific Cloud SQL instance.
- Parameters:
id
- id or null
for none
-
getInstance
public String getInstance()
Name of the database instance.
- Returns:
- value or
null
for none
-
setInstance
public BackupRun setInstance(String instance)
Name of the database instance.
- Parameters:
instance
- instance or null
for none
-
getKind
public String getKind()
This is always `sql#backupRun`.
- Returns:
- value or
null
for none
-
setKind
public BackupRun setKind(String kind)
This is always `sql#backupRun`.
- Parameters:
kind
- kind or null
for none
-
getLocation
public String getLocation()
Location of the backups.
- Returns:
- value or
null
for none
-
setLocation
public BackupRun setLocation(String location)
Location of the backups.
- Parameters:
location
- location or null
for none
-
getMaxChargeableBytes
public Long getMaxChargeableBytes()
Output only. The maximum chargeable bytes for the backup.
- Returns:
- value or
null
for none
-
setMaxChargeableBytes
public BackupRun setMaxChargeableBytes(Long maxChargeableBytes)
Output only. The maximum chargeable bytes for the backup.
- Parameters:
maxChargeableBytes
- maxChargeableBytes or null
for none
-
getSelfLink
public String getSelfLink()
The URI of this resource.
- Returns:
- value or
null
for none
-
setSelfLink
public BackupRun setSelfLink(String selfLink)
The URI of this resource.
- Parameters:
selfLink
- selfLink or null
for none
-
getStartTime
public String getStartTime()
The time the backup operation actually started in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Returns:
- value or
null
for none
-
setStartTime
public BackupRun setStartTime(String startTime)
The time the backup operation actually started in UTC timezone in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Parameters:
startTime
- startTime or null
for none
-
getStatus
public String getStatus()
The status of this run.
- Returns:
- value or
null
for none
-
setStatus
public BackupRun setStatus(String status)
The status of this run.
- Parameters:
status
- status or null
for none
-
getTimeZone
public String getTimeZone()
Backup time zone to prevent restores to an instance with a different time zone. Now relevant
only for SQL Server.
- Returns:
- value or
null
for none
-
setTimeZone
public BackupRun setTimeZone(String timeZone)
Backup time zone to prevent restores to an instance with a different time zone. Now relevant
only for SQL Server.
- Parameters:
timeZone
- timeZone or null
for none
-
getType
public String getType()
The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults
to "ON_DEMAND" and is ignored, when specified for insert requests.
- Returns:
- value or
null
for none
-
setType
public BackupRun setType(String type)
The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". This field defaults
to "ON_DEMAND" and is ignored, when specified for insert requests.
- Parameters:
type
- type or null
for none
-
getWindowStartTime
public String getWindowStartTime()
The start time of the backup window during which this the backup was attempted in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Returns:
- value or
null
for none
-
setWindowStartTime
public BackupRun setWindowStartTime(String windowStartTime)
The start time of the backup window during which this the backup was attempted in [RFC
3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
- Parameters:
windowStartTime
- windowStartTime or null
for none
-
set
public BackupRun set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public BackupRun clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy