Package org.apache.gravitino.client
Interface CustomTokenProvider.Builder<SELF extends CustomTokenProvider.Builder<SELF,T>,T extends CustomTokenProvider>
- Type Parameters:
SELF
- The subclass type of the Builder.T
- The subclass type of the CustomTokenProvider.
- All Known Implementing Classes:
CustomTokenProvider.CustomTokenProviderBuilder
- Enclosing class:
- CustomTokenProvider
protected static interface CustomTokenProvider.Builder<SELF extends CustomTokenProvider.Builder<SELF,T>,T extends CustomTokenProvider>
Builder interface for configuring and creating instances of CustomTokenProvider.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the instance of the CustomTokenProvider.withSchemeName
(String schemeName) Sets the scheme name for the CustomTokenProvider.
-
Method Details
-
withSchemeName
Sets the scheme name for the CustomTokenProvider.- Parameters:
schemeName
- The scheme name for the CustomTokenProvider.- Returns:
- This Builder instance for method chaining.
-
build
T build()Builds the instance of the CustomTokenProvider.- Returns:
- The instance of the CustomTokenProvider.
-