Show / Hide Table of Contents

Class BaseQldbDriverBuilder<TBuilder>

Inheritance
System.Object
BaseQldbDriverBuilder<TBuilder>
AsyncQldbDriverBuilder
QldbDriverBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public abstract class BaseQldbDriverBuilder<TBuilder>
    where TBuilder : BaseQldbDriverBuilder<TBuilder>
Type Parameters
Name Description
TBuilder

Methods

| Improve this Doc View Source

WithAWSCredentials(AWSCredentials)

Specify the credentials that should be used for the driver's sessions.

Declaration
public TBuilder WithAWSCredentials(AWSCredentials credentials)
Parameters
Type Name Description
Amazon.Runtime.AWSCredentials credentials

The credentials to create a driver with.

Returns
Type Description
TBuilder

This builder object.

| Improve this Doc View Source

WithLedger(String)

Specify the ledger that should be used for the driver's sessions.

Declaration
public TBuilder WithLedger(string ledgerName)
Parameters
Type Name Description
System.String ledgerName

The name of the ledger to create a driver with.

Returns
Type Description
TBuilder

This builder object.

| Improve this Doc View Source

WithLogger(ILogger)

Specify the logger that should be used for the driver's sessions.

Declaration
public TBuilder WithLogger(ILogger logger)
Parameters
Type Name Description
Microsoft.Extensions.Logging.ILogger logger

The logger to create a driver with.

Returns
Type Description
TBuilder

This builder object.

| Improve this Doc View Source

WithMaxConcurrentTransactions(Int32)

Specify the maximum number of concurrent transactions the driver can handle.

Set to 0 by default to use the maximum possible amount allowed by the client builder's configuration.

Declaration
public TBuilder WithMaxConcurrentTransactions(int maxConcurrentTransactions)
Parameters
Type Name Description
System.Int32 maxConcurrentTransactions

The maximum number of transactions can be running at any one time. This amount cannot exceed the amount set in the Amazon.Runtime.ClientConfig used for this builder.

Returns
Type Description
TBuilder

This builder object.

| Improve this Doc View Source

WithQLDBSessionConfig(AmazonQLDBSessionConfig)

Specify the configuration that should be used for the driver's sessions.

Declaration
public TBuilder WithQLDBSessionConfig(AmazonQLDBSessionConfig sessionConfig)
Parameters
Type Name Description
Amazon.QLDBSession.AmazonQLDBSessionConfig sessionConfig

The configuration to create a driver with.

Returns
Type Description
TBuilder

This builder object.

| Improve this Doc View Source

WithRetryLogging()

Enable logging driver retries at the WARN level.

Declaration
public TBuilder WithRetryLogging()
Returns
Type Description
TBuilder

This builder object.

| Improve this Doc View Source

WithSerializer(ISerializer)

Specify the serializer that should be used to serialize and deserialize Ion data.

Declaration
public TBuilder WithSerializer(ISerializer serializer)
Parameters
Type Name Description
ISerializer serializer

The serializer to create the driver with.

Returns
Type Description
TBuilder

This builder object.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX