Class DataMaskingEntity
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.DataMaskingEntity
-
public final class DataMaskingEntity extends Object
The DataMaskingEntity model.
-
-
Constructor Summary
Constructors Constructor Description DataMaskingEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataMaskingMode
mode()
Get the mode property: Data masking mode.void
validate()
Validates the instance.String
value()
Get the value property: The name of an entity to mask (e.g.DataMaskingEntity
withMode(DataMaskingMode mode)
Set the mode property: Data masking mode.DataMaskingEntity
withValue(String value)
Set the value property: The name of an entity to mask (e.g.
-
-
-
Method Detail
-
value
public String value()
Get the value property: The name of an entity to mask (e.g. a name of a header or a query parameter).- Returns:
- the value value.
-
withValue
public DataMaskingEntity withValue(String value)
Set the value property: The name of an entity to mask (e.g. a name of a header or a query parameter).- Parameters:
value
- the value value to set.- Returns:
- the DataMaskingEntity object itself.
-
mode
public DataMaskingMode mode()
Get the mode property: Data masking mode.- Returns:
- the mode value.
-
withMode
public DataMaskingEntity withMode(DataMaskingMode mode)
Set the mode property: Data masking mode.- Parameters:
mode
- the mode value to set.- Returns:
- the DataMaskingEntity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-