Class DataMaskingPolicyProperties
java.lang.Object
com.azure.resourcemanager.synapse.fluent.models.DataMaskingPolicyProperties
The properties of a database data masking policy.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DataMaskingPolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationPrincipals property: The list of the application principals.Get the dataMaskingState property: The state of the data masking policy.Get the exemptPrincipals property: The list of the exempt principals.Get the maskingLevel property: The masking level.void
validate()
Validates the instance.withDataMaskingState
(DataMaskingState dataMaskingState) Set the dataMaskingState property: The state of the data masking policy.withExemptPrincipals
(String exemptPrincipals) Set the exemptPrincipals property: The list of the exempt principals.
-
Constructor Details
-
DataMaskingPolicyProperties
public DataMaskingPolicyProperties()Creates an instance of DataMaskingPolicyProperties class.
-
-
Method Details
-
dataMaskingState
Get the dataMaskingState property: The state of the data masking policy.- Returns:
- the dataMaskingState value.
-
withDataMaskingState
Set the dataMaskingState property: The state of the data masking policy.- Parameters:
dataMaskingState
- the dataMaskingState value to set.- Returns:
- the DataMaskingPolicyProperties object itself.
-
exemptPrincipals
Get the exemptPrincipals property: The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.- Returns:
- the exemptPrincipals value.
-
withExemptPrincipals
Set the exemptPrincipals property: The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.- Parameters:
exemptPrincipals
- the exemptPrincipals value to set.- Returns:
- the DataMaskingPolicyProperties object itself.
-
applicationPrincipals
Get the applicationPrincipals property: The list of the application principals. This is a legacy parameter and is no longer used.- Returns:
- the applicationPrincipals value.
-
maskingLevel
Get the maskingLevel property: The masking level. This is a legacy parameter and is no longer used.- Returns:
- the maskingLevel value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-