public static class AscendConfig.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
AscendConfig |
build()
Builds an instance of AscendClientImpl.
|
AscendConfig.Builder |
setAscendAllocationStore(AscendAllocationStore allocationStore)
Sets up a custom AscendAllocationStore.
|
AscendConfig.Builder |
setAscendParticipant(AscendParticipant participant)
Deprecated.
use
AscendClientFactory init method with AscendConfig
and AscendParticipant params instead. |
AscendConfig.Builder |
setDefaultAllocationStoreSize(int size)
Sets the DefaultAllocationStores size.
|
AscendConfig.Builder |
setDomain(java.lang.String domain)
Sets the domain of the underlying ascendParticipant api.
|
AscendConfig.Builder |
setHttpScheme(java.lang.String scheme)
Tells the SDK to use either http or https.
|
AscendConfig.Builder |
setVersion(java.lang.String version)
Version of the underlying ascendParticipant api.
|
public AscendConfig.Builder setDomain(java.lang.String domain)
domain - the domain of the ascendParticipant apipublic AscendConfig.Builder setVersion(java.lang.String version)
version - representation of the required ascendParticipant api versionpublic AscendConfig.Builder setAscendAllocationStore(AscendAllocationStore allocationStore)
allocationStore - a custom built allocation store@Deprecated public AscendConfig.Builder setAscendParticipant(AscendParticipant participant)
AscendClientFactory init method with AscendConfig
and AscendParticipant params instead.participant - a custom build ascendParticipantpublic AscendConfig.Builder setHttpScheme(java.lang.String scheme)
scheme - either http or httpspublic AscendConfig.Builder setDefaultAllocationStoreSize(int size)
size - number of entries allowed in the default allocation storepublic AscendConfig build()