|
| 1 | +package com.marklogic.mgmt.api.database; |
| 2 | + |
| 3 | +import com.marklogic.mgmt.api.ApiObject; |
| 4 | + |
| 5 | +import javax.xml.bind.annotation.XmlAccessType; |
| 6 | +import javax.xml.bind.annotation.XmlAccessorType; |
| 7 | +import javax.xml.bind.annotation.XmlElement; |
| 8 | +import javax.xml.bind.annotation.XmlElementWrapper; |
| 9 | +import java.util.List; |
| 10 | + |
| 11 | +@XmlAccessorType(XmlAccessType.FIELD) |
| 12 | +public class DatabaseBackup extends ApiObject { |
| 13 | + |
| 14 | + @XmlElement(name = "backup-id") |
| 15 | + private String backupId; |
| 16 | + |
| 17 | + @XmlElement(name = "backup-enabled") |
| 18 | + private Boolean backupEnabled; |
| 19 | + |
| 20 | + @XmlElement(name = "backup-directory") |
| 21 | + private String backupDirectory; |
| 22 | + |
| 23 | + @XmlElement(name = "backup-kek-id") |
| 24 | + private String backupKekId; |
| 25 | + |
| 26 | + @XmlElement(name = "backup-type") |
| 27 | + private String backupType; |
| 28 | + |
| 29 | + @XmlElement(name = "backup-period") |
| 30 | + private Integer backupPeriod; |
| 31 | + |
| 32 | + @XmlElement(name = "backup-month-day") |
| 33 | + private Integer backupMonthDay; |
| 34 | + |
| 35 | + @XmlElementWrapper(name = "backup-days") |
| 36 | + @XmlElement(name = "backup-day") |
| 37 | + private List<String> backupDay; |
| 38 | + |
| 39 | + @XmlElement(name = "backup-start-date") |
| 40 | + private String backupStartDate; |
| 41 | + |
| 42 | + @XmlElement(name = "backup-start-time") |
| 43 | + private String backupStartTime; |
| 44 | + |
| 45 | + @XmlElement(name = "backup-timestamp") |
| 46 | + private String backupTimestamp; |
| 47 | + |
| 48 | + @XmlElement(name = "max-backups") |
| 49 | + private Integer maxBackups; |
| 50 | + |
| 51 | + @XmlElement(name = "backup-schemas-database") |
| 52 | + private Boolean backupSchemasDatabase; |
| 53 | + |
| 54 | + @XmlElement(name = "backup-security-database") |
| 55 | + private Boolean backupSecurityDatabase; |
| 56 | + |
| 57 | + @XmlElement(name = "backup-triggers-database") |
| 58 | + private Boolean backupTriggersDatabase; |
| 59 | + |
| 60 | + @XmlElement(name = "include-replicas") |
| 61 | + private boolean includeReplicas; |
| 62 | + |
| 63 | + @XmlElement(name = "journal-archiving") |
| 64 | + private boolean journalArchiving; |
| 65 | + |
| 66 | + @XmlElement(name = "journal-archive-path") |
| 67 | + private String journalArchivePath; |
| 68 | + |
| 69 | + @XmlElement(name = "journal-archive-lag-limit") |
| 70 | + private Integer journalArchiveLagLimit; |
| 71 | + |
| 72 | + @XmlElement(name = "incremental-backup") |
| 73 | + private Boolean incrementalBackup; |
| 74 | + |
| 75 | + @XmlElement(name = "incremental-dir") |
| 76 | + private String incrementalDir; |
| 77 | + |
| 78 | + @XmlElement(name = "purge-journal-archive") |
| 79 | + private Boolean purgeJournalArchive; |
| 80 | + |
| 81 | + public String getBackupId() { |
| 82 | + return backupId; |
| 83 | + } |
| 84 | + |
| 85 | + public void setBackupId(String backupId) { |
| 86 | + this.backupId = backupId; |
| 87 | + } |
| 88 | + |
| 89 | + public Boolean getBackupEnabled() { |
| 90 | + return backupEnabled; |
| 91 | + } |
| 92 | + |
| 93 | + public void setBackupEnabled(Boolean backupEnabled) { |
| 94 | + this.backupEnabled = backupEnabled; |
| 95 | + } |
| 96 | + |
| 97 | + public String getBackupDirectory() { |
| 98 | + return backupDirectory; |
| 99 | + } |
| 100 | + |
| 101 | + public void setBackupDirectory(String backupDirectory) { |
| 102 | + this.backupDirectory = backupDirectory; |
| 103 | + } |
| 104 | + |
| 105 | + public String getBackupKekId() { |
| 106 | + return backupKekId; |
| 107 | + } |
| 108 | + |
| 109 | + public void setBackupKekId(String backupKekId) { |
| 110 | + this.backupKekId = backupKekId; |
| 111 | + } |
| 112 | + |
| 113 | + public String getBackupType() { |
| 114 | + return backupType; |
| 115 | + } |
| 116 | + |
| 117 | + public void setBackupType(String backupType) { |
| 118 | + this.backupType = backupType; |
| 119 | + } |
| 120 | + |
| 121 | + public Integer getBackupPeriod() { |
| 122 | + return backupPeriod; |
| 123 | + } |
| 124 | + |
| 125 | + public void setBackupPeriod(Integer backupPeriod) { |
| 126 | + this.backupPeriod = backupPeriod; |
| 127 | + } |
| 128 | + |
| 129 | + public Integer getBackupMonthDay() { |
| 130 | + return backupMonthDay; |
| 131 | + } |
| 132 | + |
| 133 | + public void setBackupMonthDay(Integer backupMonthDay) { |
| 134 | + this.backupMonthDay = backupMonthDay; |
| 135 | + } |
| 136 | + |
| 137 | + public List<String> getBackupDay() { |
| 138 | + return backupDay; |
| 139 | + } |
| 140 | + |
| 141 | + public void setBackupDay(List<String> backupDay) { |
| 142 | + this.backupDay = backupDay; |
| 143 | + } |
| 144 | + |
| 145 | + public String getBackupStartDate() { |
| 146 | + return backupStartDate; |
| 147 | + } |
| 148 | + |
| 149 | + public void setBackupStartDate(String backupStartDate) { |
| 150 | + this.backupStartDate = backupStartDate; |
| 151 | + } |
| 152 | + |
| 153 | + public String getBackupStartTime() { |
| 154 | + return backupStartTime; |
| 155 | + } |
| 156 | + |
| 157 | + public void setBackupStartTime(String backupStartTime) { |
| 158 | + this.backupStartTime = backupStartTime; |
| 159 | + } |
| 160 | + |
| 161 | + public String getBackupTimestamp() { |
| 162 | + return backupTimestamp; |
| 163 | + } |
| 164 | + |
| 165 | + public void setBackupTimestamp(String backupTimestamp) { |
| 166 | + this.backupTimestamp = backupTimestamp; |
| 167 | + } |
| 168 | + |
| 169 | + public Integer getMaxBackups() { |
| 170 | + return maxBackups; |
| 171 | + } |
| 172 | + |
| 173 | + public void setMaxBackups(Integer maxBackups) { |
| 174 | + this.maxBackups = maxBackups; |
| 175 | + } |
| 176 | + |
| 177 | + public Boolean getBackupSchemasDatabase() { |
| 178 | + return backupSchemasDatabase; |
| 179 | + } |
| 180 | + |
| 181 | + public void setBackupSchemasDatabase(Boolean backupSchemasDatabase) { |
| 182 | + this.backupSchemasDatabase = backupSchemasDatabase; |
| 183 | + } |
| 184 | + |
| 185 | + public Boolean getBackupSecurityDatabase() { |
| 186 | + return backupSecurityDatabase; |
| 187 | + } |
| 188 | + |
| 189 | + public void setBackupSecurityDatabase(Boolean backupSecurityDatabase) { |
| 190 | + this.backupSecurityDatabase = backupSecurityDatabase; |
| 191 | + } |
| 192 | + |
| 193 | + public Boolean getBackupTriggersDatabase() { |
| 194 | + return backupTriggersDatabase; |
| 195 | + } |
| 196 | + |
| 197 | + public void setBackupTriggersDatabase(Boolean backupTriggersDatabase) { |
| 198 | + this.backupTriggersDatabase = backupTriggersDatabase; |
| 199 | + } |
| 200 | + |
| 201 | + public boolean isIncludeReplicas() { |
| 202 | + return includeReplicas; |
| 203 | + } |
| 204 | + |
| 205 | + public void setIncludeReplicas(boolean includeReplicas) { |
| 206 | + this.includeReplicas = includeReplicas; |
| 207 | + } |
| 208 | + |
| 209 | + public boolean isJournalArchiving() { |
| 210 | + return journalArchiving; |
| 211 | + } |
| 212 | + |
| 213 | + public void setJournalArchiving(boolean journalArchiving) { |
| 214 | + this.journalArchiving = journalArchiving; |
| 215 | + } |
| 216 | + |
| 217 | + public String getJournalArchivePath() { |
| 218 | + return journalArchivePath; |
| 219 | + } |
| 220 | + |
| 221 | + public void setJournalArchivePath(String journalArchivePath) { |
| 222 | + this.journalArchivePath = journalArchivePath; |
| 223 | + } |
| 224 | + |
| 225 | + public Integer getJournalArchiveLagLimit() { |
| 226 | + return journalArchiveLagLimit; |
| 227 | + } |
| 228 | + |
| 229 | + public void setJournalArchiveLagLimit(Integer journalArchiveLagLimit) { |
| 230 | + this.journalArchiveLagLimit = journalArchiveLagLimit; |
| 231 | + } |
| 232 | + |
| 233 | + public Boolean getIncrementalBackup() { |
| 234 | + return incrementalBackup; |
| 235 | + } |
| 236 | + |
| 237 | + public void setIncrementalBackup(Boolean incrementalBackup) { |
| 238 | + this.incrementalBackup = incrementalBackup; |
| 239 | + } |
| 240 | + |
| 241 | + public String getIncrementalDir() { |
| 242 | + return incrementalDir; |
| 243 | + } |
| 244 | + |
| 245 | + public void setIncrementalDir(String incrementalDir) { |
| 246 | + this.incrementalDir = incrementalDir; |
| 247 | + } |
| 248 | + |
| 249 | + public Boolean getPurgeJournalArchive() { |
| 250 | + return purgeJournalArchive; |
| 251 | + } |
| 252 | + |
| 253 | + public void setPurgeJournalArchive(Boolean purgeJournalArchive) { |
| 254 | + this.purgeJournalArchive = purgeJournalArchive; |
| 255 | + } |
| 256 | +} |
0 commit comments