DataMaskingRule.DefinitionStages.WithRuleState Interface

public static interface DataMaskingRule.DefinitionStages.WithRuleState

The stage of the DataMaskingRule definition allowing to specify ruleState.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withRuleState(DataMaskingRuleState ruleState)

Specifies the ruleState property: The rule state.

Method Details

withRuleState

public abstract DataMaskingRule.DefinitionStages.WithCreate withRuleState(DataMaskingRuleState ruleState)

Specifies 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..

Parameters:

ruleState - 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.

Returns:

the next definition stage.

Applies to