DataMaskingPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. DataMaskingPolicyInner
- com.
- com.
public final class DataMaskingPolicyInner
extends ProxyResource
A database data masking policy.
Constructor Summary
Constructor | Description |
---|---|
DataMaskingPolicyInner() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
applicationPrincipals()
Get the application |
Data |
dataMaskingState()
Get the data |
String |
exemptPrincipals()
Get the exempt |
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
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 |
maskingLevel()
Get the masking |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Data |
withDataMaskingState(DataMaskingState dataMaskingState)
Set the data |
Data |
withExemptPrincipals(String exemptPrincipals)
Set the exempt |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DataMaskingPolicyInner
public DataMaskingPolicyInner()
Creates an instance of DataMaskingPolicyInner class.
Method Details
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:
dataMaskingState
public DataMaskingState dataMaskingState()
Get the dataMaskingState property: The state of the data masking policy.
Returns:
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:
fromJson
public static DataMaskingPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of DataMaskingPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DataMaskingPolicyInner.id()Returns:
kind
public String kind()
Get the kind property: The kind of Data Masking Policy. Metadata, used for Azure portal.
Returns:
location
public String location()
Get the location property: The location of the data masking policy.
Returns:
maskingLevel
public String maskingLevel()
Get the maskingLevel property: The masking level. This is a legacy parameter and is no longer used.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DataMaskingPolicyInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataMaskingPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DataMaskingPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withDataMaskingState
public DataMaskingPolicyInner withDataMaskingState(DataMaskingState dataMaskingState)
Set the dataMaskingState property: The state of the data masking policy.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java