public final class BackupConfiguration 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 |
|---|
BackupConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BackupConfiguration |
clone() |
Boolean |
getBinaryLogEnabled()
Whether binary log is enabled.
|
Boolean |
getEnabled()
Whether this configuration is enabled.
|
String |
getKind()
This is always sql#backupConfiguration.
|
String |
getLocation()
Location of the backup
|
Boolean |
getReplicationLogArchivingEnabled()
Reserved for future use.
|
String |
getStartTime()
Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.
|
BackupConfiguration |
set(String fieldName,
Object value) |
BackupConfiguration |
setBinaryLogEnabled(Boolean binaryLogEnabled)
Whether binary log is enabled.
|
BackupConfiguration |
setEnabled(Boolean enabled)
Whether this configuration is enabled.
|
BackupConfiguration |
setKind(String kind)
This is always sql#backupConfiguration.
|
BackupConfiguration |
setLocation(String location)
Location of the backup
|
BackupConfiguration |
setReplicationLogArchivingEnabled(Boolean replicationLogArchivingEnabled)
Reserved for future use.
|
BackupConfiguration |
setStartTime(String startTime)
Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.
|
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 Boolean getBinaryLogEnabled()
null for nonepublic BackupConfiguration setBinaryLogEnabled(Boolean binaryLogEnabled)
binaryLogEnabled - binaryLogEnabled or null for nonepublic Boolean getEnabled()
null for nonepublic BackupConfiguration setEnabled(Boolean enabled)
enabled - enabled or null for nonepublic String getKind()
null for nonepublic BackupConfiguration setKind(String kind)
kind - kind or null for nonepublic String getLocation()
null for nonepublic BackupConfiguration setLocation(String location)
location - location or null for nonepublic Boolean getReplicationLogArchivingEnabled()
null for nonepublic BackupConfiguration setReplicationLogArchivingEnabled(Boolean replicationLogArchivingEnabled)
replicationLogArchivingEnabled - replicationLogArchivingEnabled or null for nonepublic String getStartTime()
null for nonepublic BackupConfiguration setStartTime(String startTime)
startTime - startTime or null for nonepublic BackupConfiguration set(String fieldName, Object value)
set in class GenericJsonpublic BackupConfiguration clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.