Class RandomStringFormatEntry
The Random String masking format generates random and unique strings of length within a range. The length range is defined by the startLength and endLength attributes. The start length must be less than or equal to the end length. When masking columns with uniqueness constraint, ensure that the length range is sufficient enough to generate unique values. To learn more, check Random String in the Data Safe documentation.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class RandomStringFormatEntry : FormatEntry
Properties
EndLength
Declaration
[Required(ErrorMessage = "EndLength is required.")]
[JsonProperty(PropertyName = "endLength")]
public int? EndLength { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length. |
Remarks
Required
StartLength
Declaration
[Required(ErrorMessage = "StartLength is required.")]
[JsonProperty(PropertyName = "startLength")]
public int? StartLength { get; set; }
Property Value
Type | Description |
---|---|
int? | The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length. |
Remarks
Required