use of com.amazon.dax.client.dynamodbv2.AmazonDaxClientBuilder in project aws-doc-sdk-examples by awsdocs.
the class TryDaxHelper method getDaxClient.
DynamoDB getDaxClient(String daxEndpoint) {
System.out.println("Creating a DAX client with cluster endpoint " + daxEndpoint);
AmazonDaxClientBuilder daxClientBuilder = AmazonDaxClientBuilder.standard();
daxClientBuilder.withRegion(region).withEndpointConfiguration(daxEndpoint);
AmazonDynamoDB client = daxClientBuilder.build();
return new DynamoDB(client);
}
Aggregations