public class CreateDBImportJobRequest extends AbstractModel
Constructor and Description |
---|
CreateDBImportJobRequest() |
CreateDBImportJobRequest(CreateDBImportJobRequest 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 |
getCosUrl()
Get URL of a .sql file stored in COS.
|
String |
getDbName()
Get Name of the target database.
|
String |
getFileName()
Get Filename.
|
String |
getInstanceId()
Get Instance ID in the format of cdb-c1nl9rpv.
|
String |
getPassword()
Get Password of a TencentDB instance user account
|
String |
getUser()
Get TencentDB username
|
void |
setCosUrl(String CosUrl)
Set URL of a .sql file stored in COS.
|
void |
setDbName(String DbName)
Set Name of the target database.
|
void |
setFileName(String FileName)
Set Filename.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cdb-c1nl9rpv.
|
void |
setPassword(String Password)
Set Password of a TencentDB instance user account
|
void |
setUser(String User)
Set TencentDB username
|
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 CreateDBImportJobRequest()
public CreateDBImportJobRequest(CreateDBImportJobRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page.public String getUser()
public void setUser(String User)
User
- TencentDB usernamepublic String getFileName()
public void setFileName(String FileName)
FileName
- Filename. The file must be a .sql file uploaded to Tencent Cloud.public String getPassword()
public void setPassword(String Password)
Password
- Password of a TencentDB instance user accountpublic String getDbName()
public void setDbName(String DbName)
DbName
- Name of the target database. If this parameter is not passed in, no database is specified.public String getCosUrl()
public void setCosUrl(String CosUrl)
CosUrl
- URL of a .sql file stored in COS. Either `FileName` or `CosUrl` must be specified.Copyright © 2023. All rights reserved.