Package growthbook.sdk.java.repository
Class GBFeaturesRepository.GBFeaturesRepositoryBuilder
java.lang.Object
growthbook.sdk.java.repository.GBFeaturesRepository.GBFeaturesRepositoryBuilder
- Enclosing class:
- GBFeaturesRepository
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
decryptionKey
(String decryptionKey) encryptionKey
(String encryptionKey) Deprecated.isCacheDisabled
(Boolean isCacheDisabled) okHttpClient
(okhttp3.OkHttpClient okHttpClient) refreshStrategy
(FeatureRefreshStrategy refreshStrategy) requestBodyForRemoteEval
(RequestBodyForRemoteEval requestBodyForRemoteEval) swrTtlSeconds
(Integer swrTtlSeconds) toString()
-
Method Details
-
apiHost
- Returns:
this
.
-
clientKey
- Returns:
this
.
-
encryptionKey
@Deprecated public GBFeaturesRepository.GBFeaturesRepositoryBuilder encryptionKey(@Nullable String encryptionKey) Deprecated.- Returns:
this
.
-
refreshStrategy
public GBFeaturesRepository.GBFeaturesRepositoryBuilder refreshStrategy(@Nullable FeatureRefreshStrategy refreshStrategy) - Returns:
this
.
-
swrTtlSeconds
public GBFeaturesRepository.GBFeaturesRepositoryBuilder swrTtlSeconds(@Nullable Integer swrTtlSeconds) - Returns:
this
.
-
okHttpClient
public GBFeaturesRepository.GBFeaturesRepositoryBuilder okHttpClient(@Nullable okhttp3.OkHttpClient okHttpClient) - Returns:
this
.
-
decryptionKey
public GBFeaturesRepository.GBFeaturesRepositoryBuilder decryptionKey(@Nullable String decryptionKey) - Returns:
this
.
-
isCacheDisabled
public GBFeaturesRepository.GBFeaturesRepositoryBuilder isCacheDisabled(@Nullable Boolean isCacheDisabled) - Returns:
this
.
-
requestBodyForRemoteEval
public GBFeaturesRepository.GBFeaturesRepositoryBuilder requestBodyForRemoteEval(@Nullable RequestBodyForRemoteEval requestBodyForRemoteEval) - Returns:
this
.
-
build
-
toString
-