public class ShowTaskResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
ShowTaskResponse.GroupTypeEnum
分组类型 NORMAL_TASK:一般迁移任务 SYNC_TASK:同步任务所属迁移任务 GROUP_TASK:任务组所属迁移任务
|
static class |
ShowTaskResponse.TaskTypeEnum
任务类型,为空默认设置为object。 list:对象列表迁移 object:文件/文件夹迁移 prefix:对象前缀迁移 url_list: url对象列表
|
| Constructor and Description |
|---|
ShowTaskResponse() |
getHttpStatusCode, setHttpStatusCodepublic ShowTaskResponse withBandwidthPolicy(List<BandwidthPolicyDto> bandwidthPolicy)
public ShowTaskResponse addBandwidthPolicyItem(BandwidthPolicyDto bandwidthPolicyItem)
public ShowTaskResponse withBandwidthPolicy(java.util.function.Consumer<List<BandwidthPolicyDto>> bandwidthPolicySetter)
public List<BandwidthPolicyDto> getBandwidthPolicy()
public void setBandwidthPolicy(List<BandwidthPolicyDto> bandwidthPolicy)
public ShowTaskResponse withCompleteSize(Long completeSize)
public Long getCompleteSize()
public void setCompleteSize(Long completeSize)
public ShowTaskResponse withDescription(String description)
public String getDescription()
public void setDescription(String description)
public ShowTaskResponse withDstNode(DstNodeResp dstNode)
public ShowTaskResponse withDstNode(java.util.function.Consumer<DstNodeResp> dstNodeSetter)
public DstNodeResp getDstNode()
public void setDstNode(DstNodeResp dstNode)
public ShowTaskResponse withEnableFailedObjectRecording(Boolean enableFailedObjectRecording)
public Boolean getEnableFailedObjectRecording()
public void setEnableFailedObjectRecording(Boolean enableFailedObjectRecording)
public ShowTaskResponse withEnableKms(Boolean enableKms)
public Boolean getEnableKms()
public void setEnableKms(Boolean enableKms)
public ShowTaskResponse withEnableRestore(Boolean enableRestore)
public Boolean getEnableRestore()
public void setEnableRestore(Boolean enableRestore)
public ShowTaskResponse withErrorReason(ErrorReasonResp errorReason)
public ShowTaskResponse withErrorReason(java.util.function.Consumer<ErrorReasonResp> errorReasonSetter)
public ErrorReasonResp getErrorReason()
public void setErrorReason(ErrorReasonResp errorReason)
public ShowTaskResponse withFailedNum(Long failedNum)
public Long getFailedNum()
public void setFailedNum(Long failedNum)
public ShowTaskResponse withFailedObjectRecord(FailedObjectRecordDto failedObjectRecord)
public ShowTaskResponse withFailedObjectRecord(java.util.function.Consumer<FailedObjectRecordDto> failedObjectRecordSetter)
public FailedObjectRecordDto getFailedObjectRecord()
public void setFailedObjectRecord(FailedObjectRecordDto failedObjectRecord)
public ShowTaskResponse withGroupId(String groupId)
public String getGroupId()
public void setGroupId(String groupId)
public ShowTaskResponse withId(Long id)
public Long getId()
public void setId(Long id)
public ShowTaskResponse withIsQueryOver(Boolean isQueryOver)
public Boolean getIsQueryOver()
public void setIsQueryOver(Boolean isQueryOver)
public ShowTaskResponse withLeftTime(Long leftTime)
public Long getLeftTime()
public void setLeftTime(Long leftTime)
public ShowTaskResponse withMigrateSince(Long migrateSince)
public Long getMigrateSince()
public void setMigrateSince(Long migrateSince)
public ShowTaskResponse withMigrateSpeed(Long migrateSpeed)
public Long getMigrateSpeed()
public void setMigrateSpeed(Long migrateSpeed)
public ShowTaskResponse withName(String name)
public String getName()
public void setName(String name)
public ShowTaskResponse withProgress(Double progress)
public Double getProgress()
public void setProgress(Double progress)
public ShowTaskResponse withRealSize(Long realSize)
public Long getRealSize()
public void setRealSize(Long realSize)
public ShowTaskResponse withSkippedNum(Long skippedNum)
public Long getSkippedNum()
public void setSkippedNum(Long skippedNum)
public ShowTaskResponse withSrcNode(SrcNodeResp srcNode)
public ShowTaskResponse withSrcNode(java.util.function.Consumer<SrcNodeResp> srcNodeSetter)
public SrcNodeResp getSrcNode()
public void setSrcNode(SrcNodeResp srcNode)
public ShowTaskResponse withStartTime(Long startTime)
public Long getStartTime()
public void setStartTime(Long startTime)
public ShowTaskResponse withStatus(Integer status)
public Integer getStatus()
public void setStatus(Integer status)
public ShowTaskResponse withSuccessfulNum(Long successfulNum)
public Long getSuccessfulNum()
public void setSuccessfulNum(Long successfulNum)
public ShowTaskResponse withTaskType(ShowTaskResponse.TaskTypeEnum taskType)
public ShowTaskResponse.TaskTypeEnum getTaskType()
public void setTaskType(ShowTaskResponse.TaskTypeEnum taskType)
public ShowTaskResponse withGroupType(ShowTaskResponse.GroupTypeEnum groupType)
public ShowTaskResponse.GroupTypeEnum getGroupType()
public void setGroupType(ShowTaskResponse.GroupTypeEnum groupType)
public ShowTaskResponse withTotalNum(Long totalNum)
public Long getTotalNum()
public void setTotalNum(Long totalNum)
public ShowTaskResponse withTotalSize(Long totalSize)
public Long getTotalSize()
public void setTotalSize(Long totalSize)
public ShowTaskResponse withTotalTime(Long totalTime)
public Long getTotalTime()
public void setTotalTime(Long totalTime)
public ShowTaskResponse withSmnInfo(SmnInfo smnInfo)
public ShowTaskResponse withSmnInfo(java.util.function.Consumer<SmnInfo> smnInfoSetter)
public SmnInfo getSmnInfo()
public void setSmnInfo(SmnInfo smnInfo)
public ShowTaskResponse withSourceCdn(SourceCdnResp sourceCdn)
public ShowTaskResponse withSourceCdn(java.util.function.Consumer<SourceCdnResp> sourceCdnSetter)
public SourceCdnResp getSourceCdn()
public void setSourceCdn(SourceCdnResp sourceCdn)
public ShowTaskResponse withSuccessRecordErrorReason(String successRecordErrorReason)
public String getSuccessRecordErrorReason()
public void setSuccessRecordErrorReason(String successRecordErrorReason)
public ShowTaskResponse withSkipRecordErrorReason(String skipRecordErrorReason)
public String getSkipRecordErrorReason()
public void setSkipRecordErrorReason(String skipRecordErrorReason)
Copyright © 2022. All rights reserved.