Class HealthRequest.Builder
- java.lang.Object
-
- com.styra.opa.openapi.models.operations.HealthRequest.Builder
-
- Enclosing class:
- HealthRequest
public static final class HealthRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthRequest
build()
HealthRequest.Builder
bundles(boolean bundles)
Boolean parameter to account for bundle activation status in response.HealthRequest.Builder
bundles(java.util.Optional<java.lang.Boolean> bundles)
Boolean parameter to account for bundle activation status in response.HealthRequest.Builder
excludePlugin(java.util.List<java.lang.String> excludePlugin)
String parameter to exclude a plugin from status checks.HealthRequest.Builder
excludePlugin(java.util.Optional<? extends java.util.List<java.lang.String>> excludePlugin)
String parameter to exclude a plugin from status checks.HealthRequest.Builder
plugins(boolean plugins)
Boolean parameter to account for plugin status in response.HealthRequest.Builder
plugins(java.util.Optional<java.lang.Boolean> plugins)
Boolean parameter to account for plugin status in response.
-
-
-
Method Detail
-
bundles
public HealthRequest.Builder bundles(boolean bundles)
Boolean parameter to account for bundle activation status in response. This includes any discovery bundles or bundles defined in the loaded discovery configuration.
-
bundles
public HealthRequest.Builder bundles(java.util.Optional<java.lang.Boolean> bundles)
Boolean parameter to account for bundle activation status in response. This includes any discovery bundles or bundles defined in the loaded discovery configuration.
-
plugins
public HealthRequest.Builder plugins(boolean plugins)
Boolean parameter to account for plugin status in response.
-
plugins
public HealthRequest.Builder plugins(java.util.Optional<java.lang.Boolean> plugins)
Boolean parameter to account for plugin status in response.
-
excludePlugin
public HealthRequest.Builder excludePlugin(java.util.List<java.lang.String> excludePlugin)
String parameter to exclude a plugin from status checks. Can be added multiple times. Does nothing if plugins is not true. This parameter is useful for special use cases where a plugin depends on the server being fully initialized before it can fully initialize itself.
-
excludePlugin
public HealthRequest.Builder excludePlugin(java.util.Optional<? extends java.util.List<java.lang.String>> excludePlugin)
String parameter to exclude a plugin from status checks. Can be added multiple times. Does nothing if plugins is not true. This parameter is useful for special use cases where a plugin depends on the server being fully initialized before it can fully initialize itself.
-
build
public HealthRequest build()
-
-