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 APISets the host name of the client authentication serversetClientAuthenticationPort(int port) Sets the port of the client authentication serversetClientAuthenticationTenant(String tenant) Sets the tenant of the client authentication serversetClientAuthenticationUseSsl(boolean useSsl) Sets the value specifying whether SSL should be used to communicate with the client authentication serversetMessagingCredentials(String username, String password) Sets the username and password used to authenticate with the messaging serversetMessagingHost(String host) Sets the host name of the AMQP serversetMessagingPort(int port) Sets a custom port used to connect to AMQP brokersetMessagingUseSsl(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
-
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
-
setMessagingCredentials
Sets the username and password used to authenticate with the messaging server- Parameters:
username- the username used to authenticate with the messaging serverpassword- 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
-
setClientAuthenticationHost
Sets the host name of the client authentication server- Parameters:
host- the host name of the client authentication server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setClientAuthenticationTenant
Sets the tenant of the client authentication server- Parameters:
tenant- the tenant of the client authentication server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setClientAuthenticationPort
Sets the port of the client authentication server- Parameters:
port- the port of the client authentication server- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-
setClientAuthenticationUseSsl
Sets the value specifying whether SSL should be used to communicate with the client authentication serverThis setting determines whether HTTPS (SSL/TLS) or HTTP will be used for client authentication requests. When set to
true, the SDK will use HTTPS for secure communication with the authentication server. When set tofalse, the SDK will use HTTP for communication.Security Note: It is strongly recommended to use SSL (
true) in production environments to ensure secure transmission of authentication credentials and tokens.- Parameters:
useSsl-trueif SSL should be used for client authentication communication,falseif HTTP should be used instead- Returns:
- the
CustomConfigurationBuilderinstance used to set custom config values
-