DataMaskingRuleInner Class

Definition

Represents a Sql pool data masking rule.

public class DataMaskingRuleInner extends ProxyResource
Inheritance
java.lang.Object
DataMaskingRuleInner

Inherited Members

ProxyResource.id() ProxyResource.name() ProxyResource.type() java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

DataMaskingRuleInner()

Methods

aliasName()

Get the aliasName property: The alias name. This is a legacy parameter and is no longer used.

columnName()

Get the columnName property: The column name on which the data masking rule is applied.

idPropertiesId()

Get the idPropertiesId property: The rule Id.

kind()

Get the kind property: The kind of Data Masking Rule. Metadata, used for Azure portal.

location()

Get the location property: The location of the data masking rule.

maskingFunction()

Get the maskingFunction property: The masking function that is used for the data masking rule.

numberFrom()

Get the numberFrom property: The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.

numberTo()

Get the numberTo property: The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.

prefixSize()

Get the prefixSize property: If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored.

replacementString()

Get the replacementString property: If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored.

ruleState()

Get the ruleState property: The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState.

schemaName()

Get the schemaName property: The schema name on which the data masking rule is applied.

suffixSize()

Get the suffixSize property: If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored.

tableName()

Get the tableName property: The table name on which the data masking rule is applied.

validate()

Validates the instance.

withAliasName(String aliasName)

Set the aliasName property: The alias name. This is a legacy parameter and is no longer used.

withColumnName(String columnName)

Set the columnName property: The column name on which the data masking rule is applied.

withMaskingFunction(DataMaskingFunction maskingFunction)

Set the maskingFunction property: The masking function that is used for the data masking rule.

withNumberFrom(String numberFrom)

Set the numberFrom property: The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.

withNumberTo(String numberTo)

Set the numberTo property: The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored.

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. Otherwise, this parameter will be ignored.

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. Otherwise, this parameter will be ignored.

withRuleState(DataMaskingRuleState ruleState)

Set the ruleState property: The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState.

withSchemaName(String schemaName)

Set the schemaName property: The schema name on which the data masking rule is applied.

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. Otherwise, this parameter will be ignored.

withTableName(String tableName)

Set the tableName property: The table name on which the data masking rule is applied.

Applies to