public class SyncJobInfo extends AbstractModel
Constructor and Description |
---|
SyncJobInfo() |
SyncJobInfo(SyncJobInfo 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[] |
getActions()
Get Operations that can be performed under the current status
Note: This field may return null, indicating that no valid values can be obtained.
|
String[] |
getAllActions()
Get All supported operations
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getAutoRenew()
Get Auto-renewal flag, which takes effect if `PayMode` is `PrePay`.
|
Long |
getAutoRetryTimeRangeMinutes()
Get Settings of automatic retry time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getCreateTime()
Get Creation time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
SyncDetailInfo |
getDetail()
Get Step information of the sync task
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDstAccessType()
Get Target database access type.
|
String |
getDstDatabaseType()
Get Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`.
|
Endpoint |
getDstInfo()
Get Target database information.
|
String |
getDstRegion()
Get Target database region, such as `ap-guangzhou`.
|
String |
getEndTime()
Get End time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getExpectRunTime()
Get Expected execution time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getExpireTime()
Get Expiration time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInstanceClass()
Get Sync link specification, such as `micro`, `small`, `medium`, and `large`.
|
String |
getJobId()
Get Sync task ID, such as `sync-btso140`.
|
String |
getJobName()
Get Sync task name
Note: This field may return null, indicating that no valid values can be obtained.
|
Objects |
getObjects()
Get Sync database/table objects
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getOfflineTime()
Get Deletion time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
Options |
getOptions()
Get Sync options
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPayMode()
Get Billing mode.
|
String |
getRunMode()
Get Running mode.
|
String |
getSpecification()
Get Task specification
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSrcAccessType()
Get Source database access type.
|
String |
getSrcDatabaseType()
Get Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`.
|
Endpoint |
getSrcInfo()
Get Source database information.
|
String |
getSrcRegion()
Get Source database region, such as `ap-guangzhou`.
|
String |
getStartTime()
Get Start time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getStatus()
Get Task status.
|
TagItem[] |
getTags()
Get Tag information
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTradeStatus()
Get Billing status.
|
void |
setActions(String[] Actions)
Set Operations that can be performed under the current status
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAllActions(String[] AllActions)
Set All supported operations
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAutoRenew(Long AutoRenew)
Set Auto-renewal flag, which takes effect if `PayMode` is `PrePay`.
|
void |
setAutoRetryTimeRangeMinutes(Long AutoRetryTimeRangeMinutes)
Set Settings of automatic retry time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCreateTime(String CreateTime)
Set Creation time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDetail(SyncDetailInfo Detail)
Set Step information of the sync task
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDstAccessType(String DstAccessType)
Set Target database access type.
|
void |
setDstDatabaseType(String DstDatabaseType)
Set Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`.
|
void |
setDstInfo(Endpoint DstInfo)
Set Target database information.
|
void |
setDstRegion(String DstRegion)
Set Target database region, such as `ap-guangzhou`.
|
void |
setEndTime(String EndTime)
Set End time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setExpectRunTime(String ExpectRunTime)
Set Expected execution time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setExpireTime(String ExpireTime)
Set Expiration time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceClass(String InstanceClass)
Set Sync link specification, such as `micro`, `small`, `medium`, and `large`.
|
void |
setJobId(String JobId)
Set Sync task ID, such as `sync-btso140`.
|
void |
setJobName(String JobName)
Set Sync task name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setObjects(Objects Objects)
Set Sync database/table objects
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setOfflineTime(String OfflineTime)
Set Deletion time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setOptions(Options Options)
Set Sync options
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPayMode(String PayMode)
Set Billing mode.
|
void |
setRunMode(String RunMode)
Set Running mode.
|
void |
setSpecification(String Specification)
Set Task specification
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSrcAccessType(String SrcAccessType)
Set Source database access type.
|
void |
setSrcDatabaseType(String SrcDatabaseType)
Set Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`.
|
void |
setSrcInfo(Endpoint SrcInfo)
Set Source database information.
|
void |
setSrcRegion(String SrcRegion)
Set Source database region, such as `ap-guangzhou`.
|
void |
setStartTime(String StartTime)
Set Start time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(String Status)
Set Task status.
|
void |
setTags(TagItem[] Tags)
Set Tag information
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTradeStatus(String TradeStatus)
Set Billing status.
|
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 SyncJobInfo()
public SyncJobInfo(SyncJobInfo source)
public String getJobId()
public void setJobId(String JobId)
JobId
- Sync task ID, such as `sync-btso140`.
Note: This field may return null, indicating that no valid values can be obtained.public String getJobName()
public void setJobName(String JobName)
JobName
- Sync task name
Note: This field may return null, indicating that no valid values can be obtained.public String getPayMode()
public void setPayMode(String PayMode)
PayMode
- Billing mode. Valid values: `PostPay` (pay-as-you-go); `PrePay` (monthly subscription).
Note: This field may return null, indicating that no valid values can be obtained.public String getRunMode()
public void setRunMode(String RunMode)
RunMode
- Running mode. Valid values: `Immediate`, `Timed`. Default value: `Immediate`.
Note: This field may return null, indicating that no valid values can be obtained.public String getExpectRunTime()
public void setExpectRunTime(String ExpectRunTime)
ExpectRunTime
- Expected execution time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.public String[] getAllActions()
public void setAllActions(String[] AllActions)
AllActions
- All supported operations
Note: This field may return null, indicating that no valid values can be obtained.public String[] getActions()
public void setActions(String[] Actions)
Actions
- Operations that can be performed under the current status
Note: This field may return null, indicating that no valid values can be obtained.public Options getOptions()
public void setOptions(Options Options)
Options
- Sync options
Note: This field may return null, indicating that no valid values can be obtained.public Objects getObjects()
public void setObjects(Objects Objects)
Objects
- Sync database/table objects
Note: This field may return null, indicating that no valid values can be obtained.public String getSpecification()
public void setSpecification(String Specification)
Specification
- Task specification
Note: This field may return null, indicating that no valid values can be obtained.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- Expiration time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.public String getSrcRegion()
public void setSrcRegion(String SrcRegion)
SrcRegion
- Source database region, such as `ap-guangzhou`.
Note: This field may return null, indicating that no valid values can be obtained.public String getSrcDatabaseType()
public void setSrcDatabaseType(String SrcDatabaseType)
SrcDatabaseType
- Source database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`.
Note: This field may return null, indicating that no valid values can be obtained.public String getSrcAccessType()
public void setSrcAccessType(String SrcAccessType)
SrcAccessType
- Source database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet).
Note: This field may return null, indicating that no valid values can be obtained.public Endpoint getSrcInfo()
public void setSrcInfo(Endpoint SrcInfo)
SrcInfo
- Source database information. This parameter is used by single-node databases.
Note: This field may return null, indicating that no valid values can be obtained.public String getDstRegion()
public void setDstRegion(String DstRegion)
DstRegion
- Target database region, such as `ap-guangzhou`.
Note: This field may return null, indicating that no valid values can be obtained.public String getDstDatabaseType()
public void setDstDatabaseType(String DstDatabaseType)
DstDatabaseType
- Target database type, such as `mysql`, `cynosdbmysql`, `tdapg`, `tdpg`, and `tdsqlmysql`.
Note: This field may return null, indicating that no valid values can be obtained.public String getDstAccessType()
public void setDstAccessType(String DstAccessType)
DstAccessType
- Target database access type. Valid values: `cdb` (database); `cvm` (self-build on CVM); `vpc` (VPC); `extranet` (public network); `vpncloud` (VPN access); `dcg` (Direct Connect); `ccn` (CCN); `intranet` (intranet).
Note: This field may return null, indicating that no valid values can be obtained.public Endpoint getDstInfo()
public void setDstInfo(Endpoint DstInfo)
DstInfo
- Target database information. This parameter is used by single-node databases.
Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.public String getStatus()
public void setStatus(String Status)
Status
- Task status. Valid values: `UnInitialized`, `Initialized`, `Checking`, `CheckPass`, `CheckNotPass`, `ReadyRunning`, `Running`, `Pausing`, `Paused`, `Stopping`, `Stopped`, `ResumableErr`, `Resuming`, `Failed`, `Released`, `Resetting`, `Unknown`.
Note: This field may return null, indicating that no valid values can be obtained.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.public TagItem[] getTags()
public void setTags(TagItem[] Tags)
Tags
- Tag information
Note: This field may return null, indicating that no valid values can be obtained.public SyncDetailInfo getDetail()
public void setDetail(SyncDetailInfo Detail)
Detail
- Step information of the sync task
Note: This field may return null, indicating that no valid values can be obtained.public String getTradeStatus()
public void setTradeStatus(String TradeStatus)
TradeStatus
- Billing status. Valid values: `Normal`, `Resizing`, `Renewing`, `Isolating`, `Isolated`, `Offlining`, `Offlined`, `NotBilled`, `Recovering`, `PostPay2Prepaying`, `PrePay2Postpaying`.
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceClass()
public void setInstanceClass(String InstanceClass)
InstanceClass
- Sync link specification, such as `micro`, `small`, `medium`, and `large`.
Note: This field may return null, indicating that no valid values can be obtained.public Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- Auto-renewal flag, which takes effect if `PayMode` is `PrePay`. Valid values: `1` (auto-renewal enabled); `0` (auto-renewal disabled).
Note: This field may return null, indicating that no valid values can be obtained.public String getOfflineTime()
public void setOfflineTime(String OfflineTime)
OfflineTime
- Deletion time in the format of `yyyy-mm-dd hh:mm:ss`
Note: This field may return null, indicating that no valid values can be obtained.public Long getAutoRetryTimeRangeMinutes()
public void setAutoRetryTimeRangeMinutes(Long AutoRetryTimeRangeMinutes)
AutoRetryTimeRangeMinutes
- Settings of automatic retry time
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.