public interface SdkConfigurationBuilder
SdkConfiguration
Modifier and Type | Method and Description |
---|---|
SdkConfiguration |
build()
Build and return the
SdkConfiguration |
SdkConfigurationBuilder |
setAccessToken(String accessToken)
Sets the access token
|
SdkConfigurationBuilder |
setBookmakerId(int bookmakerId)
Sets the bookmakerId
|
SdkConfigurationBuilder |
setCurrency(String currency)
Sets the currency
|
SdkConfigurationBuilder |
setExclusiveConsumer(boolean exclusiveConsumer)
Sets whether the rabbit consumer channel should be exclusive
|
SdkConfigurationBuilder |
setHost(String host)
Sets the host used to connect to AMQP broker
|
SdkConfigurationBuilder |
setKeycloakHost(String keycloakHost)
Sets the Keycloak host for authorization
|
SdkConfigurationBuilder |
setKeycloakPassword(String keycloakPassword)
Sets the password used to connect authenticate to Keycloak
|
SdkConfigurationBuilder |
setKeycloakSecret(String keycloakSecret)
Sets the secret used to connect authenticate to Keycloak
|
SdkConfigurationBuilder |
setKeycloakUsername(String keycloakUsername)
Sets the username used to connect authenticate to Keycloak
|
SdkConfigurationBuilder |
setLimitId(int limitId)
Sets the limitId
|
SdkConfigurationBuilder |
setMtsClientApiHost(String mtsClientApiHost)
Sets the Client API host
|
SdkConfigurationBuilder |
setNode(int nodeId)
Sets the node id
|
SdkConfigurationBuilder |
setPassword(String password)
Sets the password
|
SdkConfigurationBuilder |
setPort(int port)
Sets the port used to connect to AMQP broker.
|
SdkConfigurationBuilder |
setProvideAdditionalMarketSpecifiers(boolean provideAdditionalMarketSpecifiers)
This value is used to indicate if the sdk should add market specifiers for specific markets.
|
SdkConfigurationBuilder |
setSenderChannel(SenderChannel channel)
Sets the sender channel
|
SdkConfigurationBuilder |
setTicketCancellationResponseTimeout(int responseTimeout)
Sets the ticket cancellation response timeout(ms).
|
SdkConfigurationBuilder |
setTicketCashoutResponseTimeout(int responseTimeout)
Sets the ticket cashout response timeout(ms).
|
SdkConfigurationBuilder |
setTicketNonSrSettleResponseTimeout(int responseTimeout)
Sets the ticket non-Sportradar response timeout(ms).
|
SdkConfigurationBuilder |
setTicketResponseTimeout(int responseTimeout)
Sets the ticket response timeout(ms).
|
SdkConfigurationBuilder |
setTicketResponseTimeoutLive(int responseTimeout)
Sets the ticket response timeout(ms).
|
SdkConfigurationBuilder |
setTicketResponseTimeoutPrematch(int responseTimeout)
Sets the ticket response timeout(ms).
|
SdkConfigurationBuilder |
setTicketTimeOutCallbackEnabled(boolean ticketTimeOutCallbackEnabled)
Sets the value indicating if the
Ticket s sent async have the time-out callback enabled |
SdkConfigurationBuilder |
setUfEnvironment(UfEnvironment ufEnvironment)
Sets the uf environment
|
SdkConfigurationBuilder |
setUsername(String username)
Sets the username
|
SdkConfigurationBuilder |
setUseSsl(boolean useSsl)
Sets whether ssl should be used
|
SdkConfigurationBuilder |
setVirtualHost(String vhost)
Sets the virtual host
|
SdkConfigurationBuilder setUsername(String username)
username
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setPassword(String password)
password
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setHost(String host)
host
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setPort(int port)
port
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setVirtualHost(String vhost)
vhost
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setNode(int nodeId)
nodeId
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setUseSsl(boolean useSsl)
useSsl
- value to be setSdkConfigurationBuilder
SdkConfigurationBuilder setBookmakerId(int bookmakerId)
bookmakerId
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setLimitId(int limitId)
limitId
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setCurrency(String currency)
currency
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setSenderChannel(SenderChannel channel)
channel
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setAccessToken(String accessToken)
accessToken
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setUfEnvironment(UfEnvironment ufEnvironment)
ufEnvironment
- to be setSdkConfigurationBuilder
SdkConfigurationBuilder setProvideAdditionalMarketSpecifiers(boolean provideAdditionalMarketSpecifiers)
provideAdditionalMarketSpecifiers
- value to be setSdkConfigurationBuilder
SdkConfigurationBuilder setTicketTimeOutCallbackEnabled(boolean ticketTimeOutCallbackEnabled)
Ticket
s sent async have the time-out callback enabledticketTimeOutCallbackEnabled
- value to be setSdkConfigurationBuilder
SdkConfigurationBuilder setTicketResponseTimeout(int responseTimeout)
setTicketTimeOutCallbackEnabled(boolean)
is set to true
responseTimeout
- the ticket response timeout to set(ms) (will set for lcoo and live responses)SdkConfigurationBuilder
SdkConfigurationBuilder setTicketResponseTimeoutLive(int responseTimeout)
setTicketTimeOutCallbackEnabled(boolean)
is set to true
responseTimeout
- the ticket response timeout to set(ms)SdkConfigurationBuilder
SdkConfigurationBuilder setTicketResponseTimeoutPrematch(int responseTimeout)
setTicketTimeOutCallbackEnabled(boolean)
is set to true
responseTimeout
- the ticket response timeout to set(ms)SdkConfigurationBuilder
SdkConfigurationBuilder setTicketCancellationResponseTimeout(int responseTimeout)
setTicketTimeOutCallbackEnabled(boolean)
is set to true
responseTimeout
- the ticket cancellation response timeout to set(ms)SdkConfigurationBuilder
SdkConfigurationBuilder setTicketCashoutResponseTimeout(int responseTimeout)
setTicketTimeOutCallbackEnabled(boolean)
is set to true
responseTimeout
- the ticket cashout response timeout to set(ms)SdkConfigurationBuilder
SdkConfigurationBuilder setTicketNonSrSettleResponseTimeout(int responseTimeout)
setTicketTimeOutCallbackEnabled(boolean)
is set to true
responseTimeout
- the ticket non-Sportradar response timeout to set(ms)SdkConfigurationBuilder
SdkConfigurationBuilder setExclusiveConsumer(boolean exclusiveConsumer)
exclusiveConsumer
- value to be setSdkConfigurationBuilder
SdkConfigurationBuilder setKeycloakHost(String keycloakHost)
keycloakHost
- the Keycloak host to be setSdkConfigurationBuilder
SdkConfigurationBuilder setKeycloakUsername(String keycloakUsername)
keycloakUsername
- the username used to connect authenticate to KeycloakSdkConfigurationBuilder
SdkConfigurationBuilder setKeycloakPassword(String keycloakPassword)
keycloakPassword
- the password used to connect authenticate to KeycloakSdkConfigurationBuilder
SdkConfigurationBuilder setKeycloakSecret(String keycloakSecret)
keycloakSecret
- the secret used to connect authenticate to KeycloakSdkConfigurationBuilder
SdkConfigurationBuilder setMtsClientApiHost(String mtsClientApiHost)
mtsClientApiHost
- the Client API hostSdkConfigurationBuilder
SdkConfiguration build()
SdkConfiguration
SdkConfiguration
Copyright © 2017–2023. All rights reserved.