Class Options.OptionsBuilder
java.lang.Object
growthbook.sdk.java.multiusermode.configurations.Options.OptionsBuilder
- Enclosing class:
- Options
-
Method Summary
Modifier and TypeMethodDescriptionallowUrlOverrides
(Boolean allowUrlOverrides) build()
decryptionKey
(String decryptionKey) featureRefreshCallback
(FeatureRefreshCallback featureRefreshCallback) featureUsageCallbackWithUser
(FeatureUsageCallbackWithUser featureUsageCallbackWithUser) globalAttributes
(com.google.gson.JsonObject globalAttributes) globalForcedFeatureValues
(Map<String, Object> globalForcedFeatureValues) globalForcedVariationsMap
(Map<String, Integer> globalForcedVariationsMap) isCacheDisabled
(Boolean isCacheDisabled) refreshStrategy
(FeatureRefreshStrategy refreshStrategy) stickyBucketIdentifierAttributes
(List<String> stickyBucketIdentifierAttributes) stickyBucketService
(StickyBucketService stickyBucketService) toString()
trackingCallBackWithUser
(TrackingCallbackWithUser trackingCallBackWithUser)
-
Method Details
-
enabled
- Returns:
this
.
-
isQaMode
- Returns:
this
.
-
isCacheDisabled
- Returns:
this
.
-
allowUrlOverrides
- Returns:
this
.
-
url
- Returns:
this
.
-
apiHost
- Returns:
this
.
-
clientKey
- Returns:
this
.
-
decryptionKey
- Returns:
this
.
-
stickyBucketIdentifierAttributes
public Options.OptionsBuilder stickyBucketIdentifierAttributes(@Nullable List<String> stickyBucketIdentifierAttributes) - Returns:
this
.
-
stickyBucketService
public Options.OptionsBuilder stickyBucketService(@Nullable StickyBucketService stickyBucketService) - Returns:
this
.
-
trackingCallBackWithUser
public Options.OptionsBuilder trackingCallBackWithUser(@Nullable TrackingCallbackWithUser trackingCallBackWithUser) - Returns:
this
.
-
featureUsageCallbackWithUser
public Options.OptionsBuilder featureUsageCallbackWithUser(@Nullable FeatureUsageCallbackWithUser featureUsageCallbackWithUser) - Returns:
this
.
-
refreshStrategy
- Returns:
this
.
-
featureRefreshCallback
public Options.OptionsBuilder featureRefreshCallback(@Nullable FeatureRefreshCallback featureRefreshCallback) - Returns:
this
.
-
globalAttributes
public Options.OptionsBuilder globalAttributes(@Nullable com.google.gson.JsonObject globalAttributes) - Returns:
this
.
-
globalForcedFeatureValues
public Options.OptionsBuilder globalForcedFeatureValues(@Nullable Map<String, Object> globalForcedFeatureValues) - Returns:
this
.
-
globalForcedVariationsMap
public Options.OptionsBuilder globalForcedVariationsMap(@Nullable Map<String, Integer> globalForcedVariationsMap) - Returns:
this
.
-
build
-
toString
-