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
- 
- 
Field SummaryFields Modifier and Type Field Description static intDefaultMaxInboundMessageSize
 - 
Method SummaryAll 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.BuilderwithMaxInboundMessageSize(int maxInboundMessageSize)DamlLedgerClient.BuilderwithSslContext(@NonNull io.grpc.netty.shaded.io.netty.handler.ssl.SslContext sslContext)DamlLedgerClient.BuilderwithTimeout(@NonNull java.time.Duration timeout)
 
- 
- 
- 
Field Detail- 
DefaultMaxInboundMessageSizepublic static final int DefaultMaxInboundMessageSize - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
withSslContextpublic DamlLedgerClient.Builder withSslContext(@NonNull io.grpc.netty.shaded.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).
 - 
withAccessTokenpublic DamlLedgerClient.Builder withAccessToken(@NonNull java.lang.String accessToken) 
 - 
withTimeoutpublic DamlLedgerClient.Builder withTimeout(@NonNull java.time.Duration timeout) 
 - 
withMaxInboundMessageSizepublic DamlLedgerClient.Builder withMaxInboundMessageSize(int maxInboundMessageSize) 
 - 
buildpublic DamlLedgerClient build() 
 
- 
 
-