Package org.apache.gravitino.audit
Class CallerContext.Builder
java.lang.Object
org.apache.gravitino.audit.CallerContext.Builder
- Enclosing class:
- CallerContext
Builder to create a caller context.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the CallerContext.withContext
(Map<String, String> context) Sets the context for CallerContext
-
Method Details
-
withContext
Sets the context for CallerContext- Parameters:
context
- The context to set.- Returns:
- This Builder instance for method chaining.
-
build
Build the CallerContext.- Returns:
- The CallerContext.
-