List of usage examples for com.amazonaws.services.dynamodbv2 AmazonDynamoDBAsyncClient setEndpoint
@Deprecated
void setEndpoint(String endpoint);
From source file:io.fineo.drill.exec.store.dynamo.config.DynamoEndpoint.java
License:Apache License
@JsonIgnore public void configure(AmazonDynamoDBAsyncClient client) { // set the region or the url, depending on the format if (regionOrUrl.contains(":")) { client.setEndpoint(regionOrUrl); } else {/*from w ww . j a v a 2 s . c om*/ client.setRegion(RegionUtils.getRegion(regionOrUrl)); } }