Class Sqlserver

java.lang.Object
com.styra.opa.openapi.models.shared.Sqlserver

public class Sqlserver extends Object
  • Constructor Details

  • Method Details

    • query

      public Optional<String> query()
      String representing the SQL equivalent of the conditions under which the query is true.
    • masks

      public Optional<Map<String,Map<String,MaskingRule>>> masks()
      Column masking rules, where the first two nested keys represent the table name and the column name, and the value describes which masking function to use.
    • builder

      public static final Sqlserver.Builder builder()
    • withQuery

      public Sqlserver withQuery(String query)
      String representing the SQL equivalent of the conditions under which the query is true.
    • withQuery

      public Sqlserver withQuery(Optional<String> query)
      String representing the SQL equivalent of the conditions under which the query is true.
    • withMasks

      public Sqlserver withMasks(Map<String,Map<String,MaskingRule>> masks)
      Column masking rules, where the first two nested keys represent the table name and the column name, and the value describes which masking function to use.
    • withMasks

      public Sqlserver withMasks(Optional<? extends Map<String,Map<String,MaskingRule>>> masks)
      Column masking rules, where the first two nested keys represent the table name and the column name, and the value describes which masking function to use.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object