|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.services.bmr.model.ApplicationConfig
com.baidubce.services.bmr.model.HBaseApplicationConfig
public class HBaseApplicationConfig
Represent an HBase application. An HBase application can be configured with properties about backup and restore.
Constructor Summary | |
---|---|
HBaseApplicationConfig()
|
Method Summary | |
---|---|
HBaseApplicationConfig |
withBackupEnabled(boolean backupEnabled)
Configure the switch of HBase backup. |
HBaseApplicationConfig |
withBackupIntervalInMinutes(int minutes)
Configure the interval time for backup. |
HBaseApplicationConfig |
withBackupLocation(String backupLocation)
Configure the BOS path for HBase backup. |
HBaseApplicationConfig |
withBackupStartDatetime(String startDatetime)
Configure the start dateTime for backup. |
HBaseApplicationConfig |
withRestoreEnabled(boolean restoreEnabled)
Configure the switch of HBase restore. |
HBaseApplicationConfig |
withRestoreLocation(String restoreLocation)
Configure the BOS path for HBase restore. |
HBaseApplicationConfig |
withRestoreVersion(String restoreVersion)
Configure the version of backup files for HBase restore. |
HBaseApplicationConfig |
withVersion(String version)
Configure the version of HBase. |
Methods inherited from class com.baidubce.services.bmr.model.ApplicationConfig |
---|
addProperty, getName, getProperties, getVersion, setName, setProperties, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HBaseApplicationConfig()
Method Detail |
---|
public HBaseApplicationConfig withVersion(String version)
version
- The version of HBase.
public HBaseApplicationConfig withBackupEnabled(boolean backupEnabled)
backupEnabled
- The switch of backup. Turn it on by setting true.
public HBaseApplicationConfig withBackupLocation(String backupLocation)
backupLocation
- The BOS path for backup.
public HBaseApplicationConfig withBackupIntervalInMinutes(int minutes)
minutes
- The number of minutes for backup interval time.
public HBaseApplicationConfig withBackupStartDatetime(String startDatetime)
startDatetime
- The start date time for HBase backup.
public HBaseApplicationConfig withRestoreEnabled(boolean restoreEnabled)
restoreEnabled
- The switch of restore. Turn it on by setting true.
public HBaseApplicationConfig withRestoreLocation(String restoreLocation)
restoreLocation
- The BOS path for restore.
public HBaseApplicationConfig withRestoreVersion(String restoreVersion)
restoreVersion
- The version of HBase backup files.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |