Class DamlLedgerClient.Builder

  • Enclosing class:
    DamlLedgerClient

    public static final class DamlLedgerClient.Builder
    extends java.lang.Object
    • 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).