public class ModifyDesensitizationStrategyRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
columnName
The name of the field.
|
Integer |
dbId
The ID of the database.
|
Boolean |
isDefault
The desensitization algorithm of the field setting.
|
Boolean |
isLogic
Specifies whether the database is a logical database.
|
Boolean |
isReset
Specifies whether to reset the masking rule.
|
Integer |
ruleId
The ID of the masking rule.
|
String |
schemaName
The name of the database.
|
String |
tableName
The name of the table.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
ModifyDesensitizationStrategyRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyDesensitizationStrategyRequest |
build(Map<String,?> map) |
String |
getColumnName() |
Integer |
getDbId() |
Boolean |
getIsDefault() |
Boolean |
getIsLogic() |
Boolean |
getIsReset() |
Integer |
getRuleId() |
String |
getSchemaName() |
String |
getTableName() |
Long |
getTid() |
ModifyDesensitizationStrategyRequest |
setColumnName(String columnName) |
ModifyDesensitizationStrategyRequest |
setDbId(Integer dbId) |
ModifyDesensitizationStrategyRequest |
setIsDefault(Boolean isDefault) |
ModifyDesensitizationStrategyRequest |
setIsLogic(Boolean isLogic) |
ModifyDesensitizationStrategyRequest |
setIsReset(Boolean isReset) |
ModifyDesensitizationStrategyRequest |
setRuleId(Integer ruleId) |
ModifyDesensitizationStrategyRequest |
setSchemaName(String schemaName) |
ModifyDesensitizationStrategyRequest |
setTableName(String tableName) |
ModifyDesensitizationStrategyRequest |
setTid(Long tid) |
@NameInMap(value="ColumnName") public String columnName
The name of the field. You can call the ListSensitiveColumns operation to obtain the field name.
You can also call the ListColumns operation to obtain the field name.
This parameter is required.
example:test_column
@NameInMap(value="DbId") public Integer dbId
The ID of the database. You can call the ListDatabases operation to obtain the ID.
This parameter is required.
example:123
@NameInMap(value="IsDefault") public Boolean isDefault
The desensitization algorithm of the field setting. The default value is false. The values are as follows:
true: default desensitization algorithm.
false :semi-desensitization algorithm.
false
@NameInMap(value="IsLogic") public Boolean isLogic
Specifies whether the database is a logical database. Valid values:
This parameter is required.
example:false
@NameInMap(value="IsReset") public Boolean isReset
Specifies whether to reset the masking rule. Valid value:
false
@NameInMap(value="RuleId") public Integer ruleId
The ID of the masking rule.
example:53
@NameInMap(value="SchemaName") public String schemaName
The name of the database. You can call the ListSensitiveColumns operation to obtain the database name.
If the database is a physical database, you can call the ListDatabases or SearchDatabase operation to obtain the database name.
If the database is a logical database, you can call the ListLogicDatabases or SearchDatabase operation to obtain the name of the database.
This parameter is required.
example:test_schema
@NameInMap(value="TableName") public String tableName
The name of the table. You can call the ListSensitiveColumns operation to obtain the table name.
You can also call the ListTables operation to obtain the table name.
This parameter is required.
example:test_table
@NameInMap(value="Tid") public Long tid
The ID of the tenant.
example:To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant in the topic "Manage DMS tenants."
3***
public static ModifyDesensitizationStrategyRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyDesensitizationStrategyRequest setColumnName(String columnName)
public String getColumnName()
public ModifyDesensitizationStrategyRequest setDbId(Integer dbId)
public Integer getDbId()
public ModifyDesensitizationStrategyRequest setIsDefault(Boolean isDefault)
public Boolean getIsDefault()
public ModifyDesensitizationStrategyRequest setIsLogic(Boolean isLogic)
public Boolean getIsLogic()
public ModifyDesensitizationStrategyRequest setIsReset(Boolean isReset)
public Boolean getIsReset()
public ModifyDesensitizationStrategyRequest setRuleId(Integer ruleId)
public Integer getRuleId()
public ModifyDesensitizationStrategyRequest setSchemaName(String schemaName)
public String getSchemaName()
public ModifyDesensitizationStrategyRequest setTableName(String tableName)
public String getTableName()
public ModifyDesensitizationStrategyRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.