public final class BackupConfiguration
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 |
---|
BackupConfiguration() |
Modifier and Type | Method and Description |
---|---|
BackupConfiguration |
clone() |
java.lang.Boolean |
getBinaryLogEnabled()
Whether binary log is enabled.
|
java.lang.Boolean |
getEnabled()
Whether this configuration is enabled.
|
java.lang.String |
getKind()
This is always sql#backupConfiguration.
|
java.lang.String |
getLocation()
The location of the backup.
|
java.lang.Boolean |
getReplicationLogArchivingEnabled()
Reserved for future use.
|
java.lang.String |
getStartTime()
Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.
|
BackupConfiguration |
set(java.lang.String fieldName,
java.lang.Object value) |
BackupConfiguration |
setBinaryLogEnabled(java.lang.Boolean binaryLogEnabled)
Whether binary log is enabled.
|
BackupConfiguration |
setEnabled(java.lang.Boolean enabled)
Whether this configuration is enabled.
|
BackupConfiguration |
setKind(java.lang.String kind)
This is always sql#backupConfiguration.
|
BackupConfiguration |
setLocation(java.lang.String location)
The location of the backup.
|
BackupConfiguration |
setReplicationLogArchivingEnabled(java.lang.Boolean replicationLogArchivingEnabled)
Reserved for future use.
|
BackupConfiguration |
setStartTime(java.lang.String startTime)
Start time for the daily backup configuration in UTC timezone in the 24 hour format - HH:MM.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Boolean getBinaryLogEnabled()
null
for nonepublic BackupConfiguration setBinaryLogEnabled(java.lang.Boolean binaryLogEnabled)
binaryLogEnabled
- binaryLogEnabled or null
for nonepublic java.lang.Boolean getEnabled()
null
for nonepublic BackupConfiguration setEnabled(java.lang.Boolean enabled)
enabled
- enabled or null
for nonepublic java.lang.String getKind()
null
for nonepublic BackupConfiguration setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getLocation()
null
for nonepublic BackupConfiguration setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.Boolean getReplicationLogArchivingEnabled()
null
for nonepublic BackupConfiguration setReplicationLogArchivingEnabled(java.lang.Boolean replicationLogArchivingEnabled)
replicationLogArchivingEnabled
- replicationLogArchivingEnabled or null
for nonepublic java.lang.String getStartTime()
null
for nonepublic BackupConfiguration setStartTime(java.lang.String startTime)
startTime
- startTime or null
for nonepublic BackupConfiguration set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public BackupConfiguration clone()
clone
in class com.google.api.client.json.GenericJson