public class ImportSnapshotsRequest extends AbstractModel
Constructor and Description |
---|
ImportSnapshotsRequest() |
ImportSnapshotsRequest(ImportSnapshotsRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Get The ID of the cluster where the original table (from which the snapshot was created) resides
|
String |
getImportOriginTable()
Get Whether to import to the original table.
|
String |
getImportSpecialKey()
Get Whether to import partial data of the snapshot.
|
KeyFile |
getKeyFile()
Get The file of the keys of the partial data
|
String |
getNewTableGroupId()
Get The ID of the table group where the new table resides, which is valid only when `ImportOriginTable` is set to `FALSE`
|
String |
getNewTableName()
Get The name of the new table, which is valid only when `ImportOriginTable` is set to `FALSE`.
|
SnapshotInfo |
getSnapshots()
Get The information of the snapshot to import
|
void |
setClusterId(String ClusterId)
Set The ID of the cluster where the original table (from which the snapshot was created) resides
|
void |
setImportOriginTable(String ImportOriginTable)
Set Whether to import to the original table.
|
void |
setImportSpecialKey(String ImportSpecialKey)
Set Whether to import partial data of the snapshot.
|
void |
setKeyFile(KeyFile KeyFile)
Set The file of the keys of the partial data
|
void |
setNewTableGroupId(String NewTableGroupId)
Set The ID of the table group where the new table resides, which is valid only when `ImportOriginTable` is set to `FALSE`
|
void |
setNewTableName(String NewTableName)
Set The name of the new table, which is valid only when `ImportOriginTable` is set to `FALSE`.
|
void |
setSnapshots(SnapshotInfo Snapshots)
Set The information of the snapshot to import
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ImportSnapshotsRequest()
public ImportSnapshotsRequest(ImportSnapshotsRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- The ID of the cluster where the original table (from which the snapshot was created) residespublic SnapshotInfo getSnapshots()
public void setSnapshots(SnapshotInfo Snapshots)
Snapshots
- The information of the snapshot to importpublic String getImportSpecialKey()
public void setImportSpecialKey(String ImportSpecialKey)
ImportSpecialKey
- Whether to import partial data of the snapshot. Valid values: `TRUE` (import partial data), `FALSE` (import all data).public String getImportOriginTable()
public void setImportOriginTable(String ImportOriginTable)
ImportOriginTable
- Whether to import to the original table. Valid values: `TRUE` (import to the original table), `FALSE` (import to a new table).public KeyFile getKeyFile()
public void setKeyFile(KeyFile KeyFile)
KeyFile
- The file of the keys of the partial datapublic String getNewTableGroupId()
public void setNewTableGroupId(String NewTableGroupId)
NewTableGroupId
- The ID of the table group where the new table resides, which is valid only when `ImportOriginTable` is set to `FALSE`public String getNewTableName()
public void setNewTableName(String NewTableName)
NewTableName
- The name of the new table, which is valid only when `ImportOriginTable` is set to `FALSE`. TcaplusDB will automatically create a table named `NewTableName` of the same structure as that of the original table.Copyright © 2023. All rights reserved.