public class Redact
Helps prevent PII(Personally identifiable information) from being printed or logged by overriding toString().
public Redact(@NotNull
java.lang.String pii)
Helps prevent PII(Personally identifiable information) from being printed or logged by overriding toString().
@NotNull public java.lang.String toString()
Final to prevent subclasses from accidentally undoing our work
@NotNull protected java.util.function.Function<java.lang.String,java.lang.String> strategy()
Extension point to allow subclasses to redaction strategy. Default to Strategy.FULL
public boolean equals(@Nullable
java.lang.Object o)
public int hashCode()