public final class DataMaskingRuleProperties extends Object
Constructor and Description |
---|
DataMaskingRuleProperties() |
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 |
id()
Get the id property: The rule Id.
|
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.
|
DataMaskingRuleProperties |
withAliasName(String aliasName)
Set the aliasName property: The alias name.
|
DataMaskingRuleProperties |
withColumnName(String columnName)
Set the columnName property: The column name on which the data masking rule is applied.
|
DataMaskingRuleProperties |
withMaskingFunction(DataMaskingFunction maskingFunction)
Set the maskingFunction property: The masking function that is used for the data masking rule.
|
DataMaskingRuleProperties |
withNumberFrom(String numberFrom)
Set the numberFrom property: The numberFrom property of the masking rule.
|
DataMaskingRuleProperties |
withNumberTo(String numberTo)
Set the numberTo property: The numberTo property of the data masking rule.
|
DataMaskingRuleProperties |
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.
|
DataMaskingRuleProperties |
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.
|
DataMaskingRuleProperties |
withRuleState(DataMaskingRuleState ruleState)
Set the ruleState property: The rule state.
|
DataMaskingRuleProperties |
withSchemaName(String schemaName)
Set the schemaName property: The schema name on which the data masking rule is applied.
|
DataMaskingRuleProperties |
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.
|
DataMaskingRuleProperties |
withTableName(String tableName)
Set the tableName property: The table name on which the data masking rule is applied.
|
public String id()
public String aliasName()
public DataMaskingRuleProperties withAliasName(String aliasName)
aliasName
- the aliasName value to set.public DataMaskingRuleState ruleState()
public DataMaskingRuleProperties withRuleState(DataMaskingRuleState ruleState)
ruleState
- the ruleState value to set.public String schemaName()
public DataMaskingRuleProperties withSchemaName(String schemaName)
schemaName
- the schemaName value to set.public String tableName()
public DataMaskingRuleProperties withTableName(String tableName)
tableName
- the tableName value to set.public String columnName()
public DataMaskingRuleProperties withColumnName(String columnName)
columnName
- the columnName value to set.public DataMaskingFunction maskingFunction()
public DataMaskingRuleProperties withMaskingFunction(DataMaskingFunction maskingFunction)
maskingFunction
- the maskingFunction value to set.public String numberFrom()
public DataMaskingRuleProperties withNumberFrom(String numberFrom)
numberFrom
- the numberFrom value to set.public String numberTo()
public DataMaskingRuleProperties withNumberTo(String numberTo)
numberTo
- the numberTo value to set.public String prefixSize()
public DataMaskingRuleProperties withPrefixSize(String prefixSize)
prefixSize
- the prefixSize value to set.public String suffixSize()
public DataMaskingRuleProperties withSuffixSize(String suffixSize)
suffixSize
- the suffixSize value to set.public String replacementString()
public DataMaskingRuleProperties 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.