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 ascendAllocationStore)
Sets up a custom AscendAllocationStore.
|
AscendConfig.Builder |
setAscendParticipant(AscendParticipant ascendParticipant)
Sets up a custom AscendParticipant.
|
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 ascendAllocationStore)
ascendAllocationStore - a custom built allocation storepublic AscendConfig.Builder setAscendParticipant(AscendParticipant ascendParticipant)
ascendParticipant - a custom build ascendParticipantpublic AscendConfig.Builder setHttpScheme(java.lang.String scheme)
scheme - either http or httpspublic AscendConfig build()