Package com.daml.ledger.rxjava
Class DamlLedgerClient.Builder
- java.lang.Object
 - 
- com.daml.ledger.rxjava.DamlLedgerClient.Builder
 
 
- 
- Enclosing class:
 - DamlLedgerClient
 
public static final class DamlLedgerClient.Builder extends java.lang.Object 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DamlLedgerClientbuild()DamlLedgerClient.BuilderwithAccessToken(@NonNull java.lang.String accessToken)DamlLedgerClient.BuilderwithExpectedLedgerId(@NonNull java.lang.String expectedLedgerId)Deprecated.since 2.0 the ledger identifier has been deprecated as a fail-safe against contacting an unexpected participant.DamlLedgerClient.BuilderwithSslContext(@NonNull io.netty.handler.ssl.SslContext sslContext)DamlLedgerClient.BuilderwithTimeout(@NonNull java.time.Duration timeout) 
 - 
 
- 
- 
Method Detail
- 
withSslContext
public DamlLedgerClient.Builder withSslContext(@NonNull io.netty.handler.ssl.SslContext sslContext)
 
- 
withExpectedLedgerId
@Deprecated public DamlLedgerClient.Builder withExpectedLedgerId(@NonNull java.lang.String expectedLedgerId)
Deprecated.since 2.0 the ledger identifier has been deprecated as a fail-safe against contacting an unexpected participant. You are recommended to use the participant identifier in the access token as a way to validate that you are accessing the ledger through the expected participant node (as well as authorize your calls). 
- 
withAccessToken
public DamlLedgerClient.Builder withAccessToken(@NonNull java.lang.String accessToken)
 
- 
withTimeout
public DamlLedgerClient.Builder withTimeout(@NonNull java.time.Duration timeout)
 
- 
build
public DamlLedgerClient build()
 
 - 
 
 -