Class DataMaskingPolicyInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.synapse.fluent.models.DataMaskingPolicyInner
-
public final class DataMaskingPolicyInner extends com.azure.core.management.ProxyResource
The DataMaskingPolicy model.
-
-
Constructor Summary
Constructors Constructor Description DataMaskingPolicyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applicationPrincipals()
Get the applicationPrincipals property: The list of the application principals.DataMaskingState
dataMaskingState()
Get the dataMaskingState property: The state of the data masking policy.String
exemptPrincipals()
Get the exemptPrincipals property: The list of the exempt principals.String
kind()
Get the kind property: The kind of data masking policy.String
location()
Get the location property: The location of the data masking policy.String
managedBy()
Get the managedBy property: Fully qualified resource ID of the sql pool.String
maskingLevel()
Get the maskingLevel property: The masking level.void
validate()
Validates the instance.DataMaskingPolicyInner
withDataMaskingState(DataMaskingState dataMaskingState)
Set the dataMaskingState property: The state of the data masking policy.DataMaskingPolicyInner
withExemptPrincipals(String exemptPrincipals)
Set the exemptPrincipals property: The list of the exempt principals.
-
-
-
Method Detail
-
location
public String location()
Get the location property: The location of the data masking policy.- Returns:
- the location value.
-
kind
public String kind()
Get the kind property: The kind of data masking policy. Metadata, used for Azure portal.- Returns:
- the kind value.
-
managedBy
public String managedBy()
Get the managedBy property: Fully qualified resource ID of the sql pool.- Returns:
- the managedBy value.
-
dataMaskingState
public DataMaskingState dataMaskingState()
Get the dataMaskingState property: The state of the data masking policy.- Returns:
- the dataMaskingState value.
-
withDataMaskingState
public DataMaskingPolicyInner withDataMaskingState(DataMaskingState dataMaskingState)
Set the dataMaskingState property: The state of the data masking policy.- Parameters:
dataMaskingState
- the dataMaskingState value to set.- Returns:
- the DataMaskingPolicyInner object itself.
-
exemptPrincipals
public String 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
public DataMaskingPolicyInner withExemptPrincipals(String exemptPrincipals)
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 DataMaskingPolicyInner object itself.
-
applicationPrincipals
public String 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
public String 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.
-
-