public final class DataMaskingRuleInner
extends com.azure.core.management.ProxyResource
Constructor and Description |
---|
DataMaskingRuleInner() |
Modifier and Type | Method and Description |
---|---|
String |
aliasName()
Get the aliasName property: The alias name.
|
String |
columnName()
Get the columnName property: The column name on which the data masking rule is applied.
|
String |
idPropertiesId()
Get the id property: The rule Id.
|
String |
kind()
Get the kind property: The kind of Data Masking Rule.
|
String |
location()
Get the location property: The location of the data masking rule.
|
DataMaskingFunction |
maskingFunction()
Get the maskingFunction property: The masking function that is used for the data masking rule.
|
String |
numberFrom()
Get the numberFrom property: The numberFrom property of the masking rule.
|
String |
numberTo()
Get the numberTo property: The numberTo property of the data masking rule.
|
String |
prefixSize()
Get the prefixSize property: If maskingFunction is set to Text, the number of characters to show unmasked in the
beginning of the string.
|
String |
replacementString()
Get the replacementString property: If maskingFunction is set to Text, the character to use for masking the
unexposed part of the string.
|
DataMaskingRuleState |
ruleState()
Get the ruleState property: The rule state.
|
String |
schemaName()
Get the schemaName property: The schema name on which the data masking rule is applied.
|
String |
suffixSize()
Get the suffixSize property: If maskingFunction is set to Text, the number of characters to show unmasked at the
end of the string.
|
String |
tableName()
Get the tableName property: The table name on which the data masking rule is applied.
|
void |
validate()
Validates the instance.
|
DataMaskingRuleInner |
withAliasName(String aliasName)
Set the aliasName property: The alias name.
|
DataMaskingRuleInner |
withColumnName(String columnName)
Set the columnName property: The column name on which the data masking rule is applied.
|
DataMaskingRuleInner |
withMaskingFunction(DataMaskingFunction maskingFunction)
Set the maskingFunction property: The masking function that is used for the data masking rule.
|
DataMaskingRuleInner |
withNumberFrom(String numberFrom)
Set the numberFrom property: The numberFrom property of the masking rule.
|
DataMaskingRuleInner |
withNumberTo(String numberTo)
Set the numberTo property: The numberTo property of the data masking rule.
|
DataMaskingRuleInner |
withPrefixSize(String prefixSize)
Set the prefixSize property: If maskingFunction is set to Text, the number of characters to show unmasked in the
beginning of the string.
|
DataMaskingRuleInner |
withReplacementString(String replacementString)
Set the replacementString property: If maskingFunction is set to Text, the character to use for masking the
unexposed part of the string.
|
DataMaskingRuleInner |
withRuleState(DataMaskingRuleState ruleState)
Set the ruleState property: The rule state.
|
DataMaskingRuleInner |
withSchemaName(String schemaName)
Set the schemaName property: The schema name on which the data masking rule is applied.
|
DataMaskingRuleInner |
withSuffixSize(String suffixSize)
Set the suffixSize property: If maskingFunction is set to Text, the number of characters to show unmasked at the
end of the string.
|
DataMaskingRuleInner |
withTableName(String tableName)
Set the tableName property: The table name on which the data masking rule is applied.
|
public String location()
public String kind()
public String idPropertiesId()
public String aliasName()
public DataMaskingRuleInner withAliasName(String aliasName)
aliasName
- the aliasName value to set.public DataMaskingRuleState ruleState()
public DataMaskingRuleInner withRuleState(DataMaskingRuleState ruleState)
ruleState
- the ruleState value to set.public String schemaName()
public DataMaskingRuleInner withSchemaName(String schemaName)
schemaName
- the schemaName value to set.public String tableName()
public DataMaskingRuleInner withTableName(String tableName)
tableName
- the tableName value to set.public String columnName()
public DataMaskingRuleInner withColumnName(String columnName)
columnName
- the columnName value to set.public DataMaskingFunction maskingFunction()
public DataMaskingRuleInner withMaskingFunction(DataMaskingFunction maskingFunction)
maskingFunction
- the maskingFunction value to set.public String numberFrom()
public DataMaskingRuleInner withNumberFrom(String numberFrom)
numberFrom
- the numberFrom value to set.public String numberTo()
public DataMaskingRuleInner withNumberTo(String numberTo)
numberTo
- the numberTo value to set.public String prefixSize()
public DataMaskingRuleInner withPrefixSize(String prefixSize)
prefixSize
- the prefixSize value to set.public String suffixSize()
public DataMaskingRuleInner withSuffixSize(String suffixSize)
suffixSize
- the suffixSize value to set.public String replacementString()
public DataMaskingRuleInner withReplacementString(String replacementString)
replacementString
- the replacementString value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.