public class TaskInfoDetail extends AbstractModel
header, skipSign
Constructor and Description |
---|
TaskInfoDetail() |
TaskInfoDetail(TaskInfoDetail 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 |
getEndTime()
Get Task end time
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInstanceId()
Get Instance ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInstanceName()
Get Instance name
Note: This field may return null, indicating that no valid values can be obtained.
|
Float |
getProgress()
Get Task progress
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getProjectId()
Get Project ID
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getResult()
Get Task execution status.
|
String |
getStartTime()
Get Task start time
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getTaskId()
Get Task ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getTaskType()
Get Task type.
|
void |
setEndTime(String EndTime)
Set Task end time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceName(String InstanceName)
Set Instance name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProgress(Float Progress)
Set Task progress
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setProjectId(Long ProjectId)
Set Project ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setResult(Long Result)
Set Task execution status.
|
void |
setStartTime(String StartTime)
Set Task start time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskId(Long TaskId)
Set Task ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTaskType(String TaskType)
Set Task type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TaskInfoDetail()
public TaskInfoDetail(TaskInfoDetail source)
public Long getTaskId()
public void setTaskId(Long TaskId)
TaskId
- Task ID
Note: This field may return null, indicating that no valid values can be obtained.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Task start time
Note: This field may return null, indicating that no valid values can be obtained.public String getTaskType()
public void setTaskType(String TaskType)
TaskType
- Task type.
- FLOW_CREATE: "001" - Create an instance.
- FLOW_RESIZE: "002" - Change the configuration.
- FLOW_CLOSE: "003" - Close an instance.
- FLOW_CLEAN: "004" - Clear an instance.
- FLOW_STARTUP: "005" - Enable an instance.
- FLOW_DELETE: "006" - Delete an instance.
- FLOW_SETPWD: "007" - Reset the password.
- FLOW_EXPORTBACKUP: "009" - Export the backup file.
- FLOW_RESTOREBACKUP: "010" - Restore the backup.
- FLOW_BACKUPINSTANCE: "012" - Back up an instance.
- FLOW_MIGRATEINSTANCE: "013" - Migrate an instance.
- FLOW_DELBACKUP: "014" - Delete the backup.
- FLOW_EXCHANGEINSTANCE: "016" - Switch an instance.
- FLOW_AUTOBACKUP: "017" - Automatically backup an instance.
- FLOW_MIGRATECHECK: "022" - Verify migration parameters.
- FLOW_MIGRATETASK: "023" - Migrating data is in progress.
- FLOW_CLEANDB: "025" - Clear a database.
- FLOW_CLONEBACKUP: "026" - Clone the backup.
- FLOW_CHANGEVIP: "027" - Change the VIP.
- FLOW_EXPORSHR: "028" - Perform scaling.
- FLOW_ADDNODES: "029" - Add or remove a node.
- FLOW_CHANGENET: "031" - Change the network type.
- FLOW_MODIFYINSTACEREADONLY: "033" - Modify the read-only policy.
- FLOW_MODIFYINSTANCEPARAMS: "034" - Modify instance parameters.
- FLOW_MODIFYINSTANCEPASSWORDFREE: "035" - Set password-free access.
- FLOW_SWITCHINSTANCEVIP: "036" - Switch the instance VIP.
- FLOW_MODIFYINSTANCEACCOUNT: "037" - Modify the instance account.
- FLOW_MODIFYINSTANCEBANDWIDTH: "038" - Modify the instance bandwidth.
- FLOW_ENABLEINSTANCE_REPLICATE: "039" - Enable read-only replica.
- FLOW_DISABLEINSTANCE_REPLICATE: "040" - Disable read-only replica.
- FLOW_UpgradeArch: "041" - Upgrade the instance architecture from primary-secondary to cluster.
- FLOW_DowngradeArch: "042" - Downgrade the instance architecture from cluster to primary-secondary.
- FLOW_UpgradeVersion: "043" - Upgrade the version.
- FLOW_MODIFYCONNECTIONCONFIG: "044" - Modify the number of bandwidth connections.
- FLOW_CLEARNETWORK: "045" - Change the network.
- FLOW_REMOVE_BACKUP_FILE: "046" - Delete the backup.
- FLOW_UPGRADE_SUPPORT_MULTI_AZ: "047" - Upgrade an instance to support multiple AZs.
- FLOW_SHUTDOWN_MASTER: "048" - Simulate a fault.
- FLOW_CHANGE_REPLICA_TO_MASTER: "049" - Manually promote the replica node to the primary node.
- FLOW_CODE_ADD_REPLICATION_INSTANCE: "050" - Add a replication group.
- FLOW_OPEN_WAN: "052" - Enable the public network.
- FLOW_CLOSE_WAN: "053" - Disable the public network. - FLOW_UPDATE_WAN: "054" - Update the public network.
- FLOW_CODE_DELETE_REPLICATION_INSTANCE: "055" - Unbind the replication group.
- FLOW_CODE_CHANGE_MASTER_INSTANCE: "056" - Switch to the primary instance in the replication group.
- FLOW_CODE_CHANGE_INSTANCE_ROLE: "057" - Change the roles of instances in the replication group.
- FLOW_MIGRATE_NODE: "058" - Migrate a node.
- FLOW_SWITCH_NODE: "059" - Switch a node.
- FLOW_UPGRADE_SMALL_VERSION: "060" - Upgrade the Redis version.
- FLOW_UPGRADE_PROXY_VERSION: "061" - Upgrade the Proxy version.
- FLOW_MODIFY_INSTANCE_NETWORK: "062" - Modify the instance network.
- FLOW_MIGRATE_PROXY_NODE: "063" - Migrate the Proxy node.
- FLOW_MIGRATION_INSTANCE_ZONE: "066" - Migrate the instance AZ in progress.
- FLOW_UPGRADE_INSTANCE_CACHE_AND_PROXY: "067" - Upgrading the instance version is in progress.
- FLOW_MODIFY_PROXY_NUM: "069" - Add or remove a Proxy node.
- FLOW_MODIFYBACKUPMOD: "070" - Change the instance backup mode.
Note: This field may return null, indicating that no valid value can be obtained.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID
Note: This field may return null, indicating that no valid values can be obtained.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID
Note: This field may return null, indicating that no valid values can be obtained.public Float getProgress()
public void setProgress(Float Progress)
Progress
- Task progress
Note: This field may return null, indicating that no valid values can be obtained.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Task end time
Note: This field may return null, indicating that no valid values can be obtained.public Long getResult()
public void setResult(Long Result)
Result
- Task execution status. Valid values: - `0` (initilized) - `1` (executing) - `2` (completed) - `4` (failed)
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.