Interface CustomConfigurationBuilder
- All Superinterfaces:
ConfigurationBuilderBase<CustomConfigurationBuilder>,RecoveryConfigurationBuilder<CustomConfigurationBuilder>
public interface CustomConfigurationBuilder
extends RecoveryConfigurationBuilder<CustomConfigurationBuilder>
Defines methods implemented by classes used to set general and custom configuration properties
-
Method Summary
Modifier and TypeMethodDescriptionsetApiHost(String host) Set the host name of the Sports API serversetApiPort(int port) Set the port of the Sports API serversetApiUseSsl(boolean useSsl) Sets the value specifying whether SSL should be used to communicate with Sports APIsetMessagingHost(String host) Sets the host name of the AMQP serversetMessagingPassword(String password) Sets the password used to authenticate with the messaging serversetMessagingPort(int port) Sets a custom port used to connect to AMQP brokersetMessagingUsername(String username) Sets the username used to authenticate with the messaging serversetMessagingUseSsl(boolean useSsl) Sets the value specifying whether SSL should be used to communicate with the messaging serversetMessagingVirtualHost(String vHost) Sets the virtual host used to connect to the messaging serverMethods inherited from interface com.sportradar.unifiedodds.sdk.cfg.ConfigurationBuilderBase
build, loadConfigFromApplicationYml, loadConfigFromSdkProperties, setDefaultLanguage, setDesiredLanguages, setDisabledProducers, setExceptionHandlingStrategy, setNodeIdMethods inherited from interface com.sportradar.unifiedodds.sdk.cfg.RecoveryConfigurationBuilder
enableUsageExport, omitMarketMappings, setHttpClientFastFailingTimeout, setHttpClientMaxConnPerRoute, setHttpClientMaxConnTotal, setHttpClientRecoveryTimeout, setHttpClientTimeout, setIgnoreBetPalTimelineSportEventStatus, setIgnoreBetPalTimelineSportEventStatusCacheTimeout, setInactivitySeconds, setInactivitySecondsPrematch, setMaxRecoveryTime, setMinIntervalBetweenRecoveryRequests, setProfileCacheTimeout, setRabbitConnectionTimeout, setRabbitHeartbeat, setSportEventCacheTimeout, setSportEventStatusCacheTimeout, setStatisticsInterval, setVariantMarketDescriptionCacheTimeout
-
Method Details
-
setApiHost
Set the host name of the Sports API server- Parameters:
host- the host name of the Sports API server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setApiPort
Set the port of the Sports API server- Parameters:
port- the port of the Sports API server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setApiUseSsl
Sets the value specifying whether SSL should be used to communicate with Sports API- Parameters:
useSsl- the value specifying whether SSL should be used to communicate with Sports API- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setMessagingHost
Sets the host name of the AMQP server- Parameters:
host- the host name of the AMQP server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setMessagingPort
Sets a custom port used to connect to AMQP broker- Parameters:
port- the port used to connect to AMQP broker- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setMessagingUsername
Sets the username used to authenticate with the messaging server- Parameters:
username- the username used to authenticate with the messaging server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setMessagingVirtualHost
Sets the virtual host used to connect to the messaging server- Parameters:
vHost- the virtual host used to connect to the messaging server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setMessagingPassword
Sets the password used to authenticate with the messaging server- Parameters:
password- the password used to authenticate with the messaging server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setMessagingUseSsl
Sets the value specifying whether SSL should be used to communicate with the messaging server- Parameters:
useSsl- the value specifying whether SSL should be used to communicate with the messaging server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-