Class WatchOptions.Builder
java.lang.Object
codes.grow.packages.vault.secrets.WatchOptions.Builder
- Enclosing class:
WatchOptions
Builder for
WatchOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.Sets the callback for polling errors; polling continues after an error.
-
Method Details
-
onError
Sets the callback for polling errors; polling continues after an error.- Parameters:
onError- callback- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-