Class BodyObfuscator.Builder
  
  
  
    Inheritance
    
    BodyObfuscator.Builder
   
  
  Namespace: Worldline.Connect.Sdk.Logging
  Assembly: Worldline.Connect.Sdk.dll
  Syntax
  
    public class BodyObfuscator.Builder
   
  Methods
  
  Build()
  
  
  Declaration
  
    public BodyObfuscator Build()
   
  Returns
  
  
  ObfuscateAll(string)
  Adds an obfuscation rule that will replace all characters with *.
 
  
  Declaration
  
    public BodyObfuscator.Builder ObfuscateAll(string propertyName)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | string | 
        propertyName | 
         | 
      
    
  
  Returns
  
  
  ObfuscateAllButFirst(int, string)
  Adds an obfuscation rule that will keep a fixed number of characters at the start,
then replaces all other characters with *.
 
  
  Declaration
  
    public BodyObfuscator.Builder ObfuscateAllButFirst(int count, string propertyName)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | int | 
        count | 
         | 
      
      
        | string | 
        propertyName | 
         | 
      
    
  
  Returns
  
  
  ObfuscateAllButLast(int, string)
  Adds an obfuscation rule that will keep a fixed number of characters at the end,
then replaces all other characters with *.
 
  
  Declaration
  
    public BodyObfuscator.Builder ObfuscateAllButLast(int count, string propertyName)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | int | 
        count | 
         | 
      
      
        | string | 
        propertyName | 
         | 
      
    
  
  Returns
  
  
  ObfuscateCustom(string, ObfuscationRule)
  Adds a custom, non-null obfuscation rule.
 
  
  Declaration
  
    public BodyObfuscator.Builder ObfuscateCustom(string propertyName, ObfuscationRule obfuscationRule)
   
  Parameters
  
  Returns
  
  
  ObfuscateWithFixedLength(int, string)
  Adds an obfuscation rule that will replace values with a fixed length string containing only *.
 
  
  Declaration
  
    public BodyObfuscator.Builder ObfuscateWithFixedLength(int fixedLength, string propertyName)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | int | 
        fixedLength | 
         | 
      
      
        | string | 
        propertyName | 
         | 
      
    
  
  Returns