public class CreateMigrationTaskRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateMigrationTaskRequest() | 
| CreateMigrationTaskRequest(CreateMigrationTaskRequest 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 | getBucketAddress()Get 数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数 | 
| String | getBucketName()Get 数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数 | 
| String | getBucketPath()Get 源桶路径,默认为 / | 
| String | getBucketRegion()Get 数据源桶地域 | 
| Long | getCoverType()Get 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖 | 
| Long | getDirection()Get 迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0 | 
| String | getFileSystemId()Get 文件系统实例 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取 | 
| String | getFsName()Get 目标文件系统名称 | 
| String | getFsPath()Get 文件系统路径 | 
| String | getListAddress()Get 清单地址,迁移方式为清单迁移时必填 | 
| Long | getMigrationMode()Get 迁移模式,默认为0。0: 全量迁移 | 
| Long | getMigrationType()Get 迁移方式标志位,默认为0。0:桶迁移;1:清单迁移 | 
| String | getSrcSecretId()Get 数据源账号的 SecretId | 
| String | getSrcSecretKey()Get 数据源账号的 SecretKey | 
| String | getSrcService()Get 数据源服务商。COS:腾讯云COS,OSS:阿里云OSS,OBS:华为云OBS | 
| String | getTaskName()Get 迁移任务名称 | 
| void | setBucketAddress(String BucketAddress)Set 数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数 | 
| void | setBucketName(String BucketName)Set 数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数 | 
| void | setBucketPath(String BucketPath)Set 源桶路径,默认为 / | 
| void | setBucketRegion(String BucketRegion)Set 数据源桶地域 | 
| void | setCoverType(Long CoverType)Set 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖 | 
| void | setDirection(Long Direction)Set 迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0 | 
| void | setFileSystemId(String FileSystemId)Set 文件系统实例 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取 | 
| void | setFsName(String FsName)Set 目标文件系统名称 | 
| void | setFsPath(String FsPath)Set 文件系统路径 | 
| void | setListAddress(String ListAddress)Set 清单地址,迁移方式为清单迁移时必填 | 
| void | setMigrationMode(Long MigrationMode)Set 迁移模式,默认为0。0: 全量迁移 | 
| void | setMigrationType(Long MigrationType)Set 迁移方式标志位,默认为0。0:桶迁移;1:清单迁移 | 
| void | setSrcSecretId(String SrcSecretId)Set 数据源账号的 SecretId | 
| void | setSrcSecretKey(String SrcSecretKey)Set 数据源账号的 SecretKey | 
| void | setSrcService(String SrcService)Set 数据源服务商。COS:腾讯云COS,OSS:阿里云OSS,OBS:华为云OBS | 
| void | setTaskName(String TaskName)Set 迁移任务名称 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateMigrationTaskRequest()
public CreateMigrationTaskRequest(CreateMigrationTaskRequest source)
public String getTaskName()
public void setTaskName(String TaskName)
TaskName - 迁移任务名称public Long getMigrationType()
public void setMigrationType(Long MigrationType)
MigrationType - 迁移方式标志位,默认为0。0:桶迁移;1:清单迁移public Long getMigrationMode()
public void setMigrationMode(Long MigrationMode)
MigrationMode - 迁移模式,默认为0。0: 全量迁移public String getSrcSecretId()
public void setSrcSecretId(String SrcSecretId)
SrcSecretId - 数据源账号的 SecretIdpublic String getSrcSecretKey()
public void setSrcSecretKey(String SrcSecretKey)
SrcSecretKey - 数据源账号的 SecretKeypublic String getFileSystemId()
public void setFileSystemId(String FileSystemId)
FileSystemId - 文件系统实例 ID,通过查询文件系统 [DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170) 获取public String getFsPath()
public void setFsPath(String FsPath)
FsPath - 文件系统路径public Long getCoverType()
public void setCoverType(Long CoverType)
CoverType - 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖public String getSrcService()
public void setSrcService(String SrcService)
SrcService - 数据源服务商。COS:腾讯云COS,OSS:阿里云OSS,OBS:华为云OBSpublic String getBucketName()
public void setBucketName(String BucketName)
BucketName - 数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数public String getBucketRegion()
public void setBucketRegion(String BucketRegion)
BucketRegion - 数据源桶地域public String getBucketAddress()
public void setBucketAddress(String BucketAddress)
BucketAddress - 数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数public String getListAddress()
public void setListAddress(String ListAddress)
ListAddress - 清单地址,迁移方式为清单迁移时必填public String getFsName()
public void setFsName(String FsName)
FsName - 目标文件系统名称public String getBucketPath()
public void setBucketPath(String BucketPath)
BucketPath - 源桶路径,默认为 /public Long getDirection()
public void setDirection(Long Direction)
Direction - 迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0Copyright © 2025. All rights reserved.