Package growthbook.sdk.java
Class GBFeaturesRepository.GBFeaturesRepositoryBuilder
java.lang.Object
growthbook.sdk.java.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- Enclosing class:
- GBFeaturesRepository
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
encryptionKey
(String encryptionKey) refreshStrategy
(FeatureRefreshStrategy refreshStrategy) swrTtlSeconds
(Integer swrTtlSeconds) toString()
-
Method Details
-
apiHost
- Parameters:
apiHost
- The GrowthBook API host (default: ...)- Returns:
this
.
-
clientKey
- Parameters:
clientKey
- Your client ID, e.g. sdk-abc123- Returns:
this
.
-
encryptionKey
public GBFeaturesRepository.GBFeaturesRepositoryBuilder encryptionKey(@Nullable String encryptionKey) - Parameters:
encryptionKey
- optional key for decrypting encrypted payload- Returns:
this
.
-
refreshStrategy
public GBFeaturesRepository.GBFeaturesRepositoryBuilder refreshStrategy(@Nullable FeatureRefreshStrategy refreshStrategy) - Returns:
this
.
-
swrTtlSeconds
public GBFeaturesRepository.GBFeaturesRepositoryBuilder swrTtlSeconds(@Nullable Integer swrTtlSeconds) - Returns:
this
.
-
build
-
toString
-