@Generated(value="software.amazon.awssdk:codegen") public interface QldbSessionAsyncClient extends SdkClient
builder()
method.
The transactional data APIs for Amazon QLDB
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static QldbSessionAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
QldbSessionAsyncClient. |
static QldbSessionAsyncClient |
create()
Create a
QldbSessionAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<SendCommandResponse> |
sendCommand(Consumer<SendCommandRequest.Builder> sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
|
default CompletableFuture<SendCommandResponse> |
sendCommand(SendCommandRequest sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
|
serviceNameclosestatic final String SERVICE_NAME
static QldbSessionAsyncClient create()
QldbSessionAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static QldbSessionAsyncClientBuilder builder()
QldbSessionAsyncClient.default CompletableFuture<SendCommandResponse> sendCommand(SendCommandRequest sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
sendCommandRequest - default CompletableFuture<SendCommandResponse> sendCommand(Consumer<SendCommandRequest.Builder> sendCommandRequest)
Sends a command to an Amazon QLDB ledger.
This is a convenience which creates an instance of the SendCommandRequest.Builder avoiding the need to
create one manually via SendCommandRequest.builder()
sendCommandRequest - A Consumer that will call methods on SendCommandRequest.Builder to create a request.Copyright © 2020. All rights reserved.