public static class FlagsmithClient.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
FlagsmithClient |
build() |
FlagsmithClient.Builder |
setApiKey(String apiKey)
Set the environment API key
|
FlagsmithClient.Builder |
withApiUrl(String apiUrl)
Set the base URL for Flagsmith API, overriding default one.
|
FlagsmithClient.Builder |
withConfiguration(FlagsmithConfig config)
Override default FlagsmithConfig for Flagsmith API.
|
public FlagsmithClient.Builder setApiKey(String apiKey)
apiKey - the api key for environmentpublic FlagsmithClient.Builder withConfiguration(FlagsmithConfig config)
config - an FlagsmithConfig to override default one.public FlagsmithClient.Builder withApiUrl(String apiUrl)
apiUrl - the new base URI for the API.public FlagsmithClient build()
Copyright © 2021. All rights reserved.