Class FeatureKeyDiagnostics.FeatureKeyDiagnosticsBuilder
java.lang.Object
growthbook.sdk.java.diagnostics.model.FeatureKeyDiagnostics.FeatureKeyDiagnosticsBuilder
- Enclosing class:
- FeatureKeyDiagnostics
-
Method Summary
Modifier and TypeMethodDescriptionavailable(boolean available) Whether feature keys were available to inspect.build()Stable, sorted sample of feature keys.sampleLimit(int sampleLimit) Maximum number of keys included insample.SHA-256 hash of the sorted feature keys, ornullwhen keys are unavailable.toString()totalCount(int totalCount) Total number of feature keys in the inspected snapshot.truncated(boolean truncated) Whether the key list was truncated to fit the sample limit.
-
Method Details
-
available
Whether feature keys were available to inspect.- Returns:
this.
-
totalCount
Total number of feature keys in the inspected snapshot.- Returns:
this.
-
sampleLimit
Maximum number of keys included insample.- Returns:
this.
-
sample
Stable, sorted sample of feature keys.- Returns:
this.
-
truncated
Whether the key list was truncated to fit the sample limit.- Returns:
this.
-
sha256
SHA-256 hash of the sorted feature keys, ornullwhen keys are unavailable.- Returns:
this.
-
build
-
toString
-