public class UpdateDatabaseRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpdateDatabaseRequest() |
UpdateDatabaseRequest(UpdateDatabaseRequest 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 |
getCatalogName()
Get The name of the catalog, if left unspecified, defaults to "internal".
|
String |
getDbName()
Get The database name to be modified
|
String |
getInstanceId()
Get InstanceId
|
String |
getNewDbName()
Get New database name, used for renaming operation.
|
String |
getOperation()
Get Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES.
|
String |
getPassWord()
Get Password corresponding to the user.
|
PropertiesMap[] |
getProperties()
Get Attribute key-value pair to be set
|
String |
getQuota()
Get Quota value, which is used to set the quota of data volume or replicas.
|
String |
getUserName()
Get Use the user who has corresponding permissions for operations.
|
void |
setCatalogName(String CatalogName)
Set The name of the catalog, if left unspecified, defaults to "internal".
|
void |
setDbName(String DbName)
Set The database name to be modified
|
void |
setInstanceId(String InstanceId)
Set InstanceId
|
void |
setNewDbName(String NewDbName)
Set New database name, used for renaming operation.
|
void |
setOperation(String Operation)
Set Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES.
|
void |
setPassWord(String PassWord)
Set Password corresponding to the user.
|
void |
setProperties(PropertiesMap[] Properties)
Set Attribute key-value pair to be set
|
void |
setQuota(String Quota)
Set Quota value, which is used to set the quota of data volume or replicas.
|
void |
setUserName(String UserName)
Set Use the user who has corresponding permissions for operations.
|
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 UpdateDatabaseRequest()
public UpdateDatabaseRequest(UpdateDatabaseRequest source)
public String getDbName()
public void setDbName(String DbName)
DbName
- The database name to be modifiedpublic String getOperation()
public void setOperation(String Operation)
Operation
- Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES. Modify the operation type, such as SET_QUOTA, RENAME, SET_REPLICA_QUOTA, and SET_PROPERTIES.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- InstanceIdpublic String getQuota()
public void setQuota(String Quota)
Quota
- Quota value, which is used to set the quota of data volume or replicas.public String getNewDbName()
public void setNewDbName(String NewDbName)
NewDbName
- New database name, used for renaming operation.public PropertiesMap[] getProperties()
public void setProperties(PropertiesMap[] Properties)
Properties
- Attribute key-value pair to be setpublic String getUserName()
public void setUserName(String UserName)
UserName
- Use the user who has corresponding permissions for operations. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in.public String getPassWord()
public void setPassWord(String PassWord)
PassWord
- Password corresponding to the user. If the TCHouse-D cluster uses a kernel account registered by a CAM user, you do not need to fill it in.public String getCatalogName()
public void setCatalogName(String CatalogName)
CatalogName
- The name of the catalog, if left unspecified, defaults to "internal".Copyright © 2024. All rights reserved.