public static class InsightsConfig.Builder extends ConfigBase.Builder<InsightsConfig.Builder>
compressionType| Constructor and Description |
|---|
Builder(String applicationID,
String apiKey)
Creates an
InsightsConfig with the default region ("us"). |
Builder(String applicationID,
String apiKey,
String region)
Creates an
InsightsConfig with a custom region. |
| Modifier and Type | Method and Description |
|---|---|
InsightsConfig |
build() |
InsightsConfig.Builder |
getThis()
To prevent unchecked cast warning.
|
addExtraHeaders, addExtraHeaders, setBatchSize, setConnectTimeOut, setExecutorService, setHosts, setReadTimeOut, setWriteTimeOutpublic Builder(@Nonnull String applicationID, @Nonnull String apiKey)
InsightsConfig with the default region ("us").applicationID - The ApplicationIDapiKey - The API Keypublic InsightsConfig.Builder getThis()
ConfigBase.BuildergetThis in class ConfigBase.Builder<InsightsConfig.Builder>public InsightsConfig build()
Copyright © 2019. All rights reserved.