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 Data source bucket address. 
 | 
String | 
getBucketName()
Get Data source bucket name. 
 | 
String | 
getBucketPath()
Get Source bucket path, which defaults to `/` 
 | 
String | 
getBucketRegion()
Get Data source bucket region 
 | 
Long | 
getCoverType()
Get Overwrite policy for files with the same name. 
 | 
String | 
getFileSystemId()
Get File system instance ID 
 | 
String | 
getFsName()
Get Target file system name 
 | 
String | 
getFsPath()
Get File system path 
 | 
String | 
getListAddress()
Get List address. 
 | 
Long | 
getMigrationMode()
Get Migration mode. 
 | 
Long | 
getMigrationType()
Get Migration type. 
 | 
String | 
getSrcSecretId()
Get SecretId of the data source account 
 | 
String | 
getSrcSecretKey()
Get SecretKey of the data source account 
 | 
String | 
getSrcService()
Get Data source service provider. 
 | 
String | 
getTaskName()
Get Migration task name 
 | 
void | 
setBucketAddress(String BucketAddress)
Set Data source bucket address. 
 | 
void | 
setBucketName(String BucketName)
Set Data source bucket name. 
 | 
void | 
setBucketPath(String BucketPath)
Set Source bucket path, which defaults to `/` 
 | 
void | 
setBucketRegion(String BucketRegion)
Set Data source bucket region 
 | 
void | 
setCoverType(Long CoverType)
Set Overwrite policy for files with the same name. 
 | 
void | 
setFileSystemId(String FileSystemId)
Set File system instance ID 
 | 
void | 
setFsName(String FsName)
Set Target file system name 
 | 
void | 
setFsPath(String FsPath)
Set File system path 
 | 
void | 
setListAddress(String ListAddress)
Set List address. 
 | 
void | 
setMigrationMode(Long MigrationMode)
Set Migration mode. 
 | 
void | 
setMigrationType(Long MigrationType)
Set Migration type. 
 | 
void | 
setSrcSecretId(String SrcSecretId)
Set SecretId of the data source account 
 | 
void | 
setSrcSecretKey(String SrcSecretKey)
Set SecretKey of the data source account 
 | 
void | 
setSrcService(String SrcService)
Set Data source service provider. 
 | 
void | 
setTaskName(String TaskName)
Set Migration task name 
 | 
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 - Migration task namepublic Long getMigrationType()
public void setMigrationType(Long MigrationType)
MigrationType - Migration type. Valid values: `0` (bucket) and `1` (list). Default value: `0`.public Long getMigrationMode()
public void setMigrationMode(Long MigrationMode)
MigrationMode - Migration mode. Default value: `0` (full migration).public String getSrcSecretId()
public void setSrcSecretId(String SrcSecretId)
SrcSecretId - SecretId of the data source accountpublic String getSrcSecretKey()
public void setSrcSecretKey(String SrcSecretKey)
SrcSecretKey - SecretKey of the data source accountpublic String getFileSystemId()
public void setFileSystemId(String FileSystemId)
FileSystemId - File system instance IDpublic String getFsPath()
public void setFsPath(String FsPath)
FsPath - File system pathpublic Long getCoverType()
public void setCoverType(Long CoverType)
CoverType - Overwrite policy for files with the same name. Valid values: `0` (retain the file with the latest modified time), `1` (overwrite); and `2` (not overwrite). Default value: `0`.public String getSrcService()
public void setSrcService(String SrcService)
SrcService - Data source service provider. Valid values: `COS` (Tencent Cloud COS), `OSS` (Alibaba Cloud OSS), and `OBS` (Huawei Cloud OBS).public String getBucketName()
public void setBucketName(String BucketName)
BucketName - Data source bucket name. Specify at least one of the bucket name or address.public String getBucketRegion()
public void setBucketRegion(String BucketRegion)
BucketRegion - Data source bucket regionpublic String getBucketAddress()
public void setBucketAddress(String BucketAddress)
BucketAddress - Data source bucket address. Specify at least one of the bucket name or address.public String getListAddress()
public void setListAddress(String ListAddress)
ListAddress - List address. This parameter is required if `MigrationType` is set to `1` (list).public String getFsName()
public void setFsName(String FsName)
FsName - Target file system namepublic String getBucketPath()
public void setBucketPath(String BucketPath)
BucketPath - Source bucket path, which defaults to `/`Copyright © 2025. All rights reserved.