public class CopyAccountPrivilegesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CopyAccountPrivilegesRequest() |
CopyAccountPrivilegesRequest(CopyAccountPrivilegesRequest 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 |
getDstHost()
Get Access host allowed for target user
|
String |
getDstReadOnly()
Get `ReadOnly` attribute of target account
|
String |
getDstUserName()
Get Target username
|
String |
getInstanceId()
Get Instance ID, which is in the format of `tdsql-ow728lmc` and can be obtained through the `DescribeDBInstances` API.
|
String |
getSrcHost()
Get Access host allowed for source user
|
String |
getSrcReadOnly()
Get `ReadOnly` attribute of source account
|
String |
getSrcUserName()
Get Source username
|
void |
setDstHost(String DstHost)
Set Access host allowed for target user
|
void |
setDstReadOnly(String DstReadOnly)
Set `ReadOnly` attribute of target account
|
void |
setDstUserName(String DstUserName)
Set Target username
|
void |
setInstanceId(String InstanceId)
Set Instance ID, which is in the format of `tdsql-ow728lmc` and can be obtained through the `DescribeDBInstances` API.
|
void |
setSrcHost(String SrcHost)
Set Access host allowed for source user
|
void |
setSrcReadOnly(String SrcReadOnly)
Set `ReadOnly` attribute of source account
|
void |
setSrcUserName(String SrcUserName)
Set Source username
|
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 CopyAccountPrivilegesRequest()
public CopyAccountPrivilegesRequest(CopyAccountPrivilegesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID, which is in the format of `tdsql-ow728lmc` and can be obtained through the `DescribeDBInstances` API.public String getSrcUserName()
public void setSrcUserName(String SrcUserName)
SrcUserName
- Source usernamepublic String getSrcHost()
public void setSrcHost(String SrcHost)
SrcHost
- Access host allowed for source userpublic String getDstUserName()
public void setDstUserName(String DstUserName)
DstUserName
- Target usernamepublic String getDstHost()
public void setDstHost(String DstHost)
DstHost
- Access host allowed for target userpublic String getSrcReadOnly()
public void setSrcReadOnly(String SrcReadOnly)
SrcReadOnly
- `ReadOnly` attribute of source accountpublic String getDstReadOnly()
public void setDstReadOnly(String DstReadOnly)
DstReadOnly
- `ReadOnly` attribute of target accountCopyright © 2024. All rights reserved.