Class ConfigDiagnostics.ConfigDiagnosticsBuilder
java.lang.Object
growthbook.sdk.java.diagnostics.model.ConfigDiagnostics.ConfigDiagnosticsBuilder
- Enclosing class:
- ConfigDiagnostics
-
Method Summary
Modifier and TypeMethodDescriptionEffective API host used by the feature repository.backgroundFetchIntervalMillis(Long backgroundFetchIntervalMillis) Optional minimum interval between background refreshes, in milliseconds.build()clientKeyMasked(String clientKeyMasked) Masked GrowthBook client key.enabled(boolean enabled) Whether evaluations are globally enabled.encryptionConfigured(boolean encryptionConfigured) Whether encrypted feature payloads are configured.eventsEndpoint(String eventsEndpoint) Streaming endpoint with the client key masked.featuresEndpoint(String featuresEndpoint) Feature endpoint with the client key masked.qaMode(boolean qaMode) Whether QA mode is enabled.retryMaxAttempts(int retryMaxAttempts) Maximum number of feature fetch attempts, including the first attempt.stickyBucketingEnabled(boolean stickyBucketingEnabled) Whether a sticky bucketing service is configured.swrTtlSeconds(int swrTtlSeconds) Stale-while-revalidate TTL in seconds.toString()
-
Method Details
-
apiHost
Effective API host used by the feature repository.- Returns:
this.
-
featuresEndpoint
public ConfigDiagnostics.ConfigDiagnosticsBuilder featuresEndpoint(@Nullable String featuresEndpoint) Feature endpoint with the client key masked.- Returns:
this.
-
eventsEndpoint
Streaming endpoint with the client key masked.- Returns:
this.
-
clientKeyMasked
Masked GrowthBook client key.- Returns:
this.
-
encryptionConfigured
public ConfigDiagnostics.ConfigDiagnosticsBuilder encryptionConfigured(boolean encryptionConfigured) Whether encrypted feature payloads are configured. Secret values are never exposed.- Returns:
this.
-
swrTtlSeconds
Stale-while-revalidate TTL in seconds.- Returns:
this.
-
backgroundFetchIntervalMillis
public ConfigDiagnostics.ConfigDiagnosticsBuilder backgroundFetchIntervalMillis(@Nullable Long backgroundFetchIntervalMillis) Optional minimum interval between background refreshes, in milliseconds.- Returns:
this.
-
retryMaxAttempts
Maximum number of feature fetch attempts, including the first attempt.- Returns:
this.
-
enabled
Whether evaluations are globally enabled.- Returns:
this.
-
qaMode
Whether QA mode is enabled.- Returns:
this.
-
stickyBucketingEnabled
public ConfigDiagnostics.ConfigDiagnosticsBuilder stickyBucketingEnabled(boolean stickyBucketingEnabled) Whether a sticky bucketing service is configured.- Returns:
this.
-
build
-
toString
-