List of usage examples for com.amazonaws.services.dynamodbv2 AmazonDynamoDBAsyncClient setRegion
@Deprecated
void setRegion(Region region);
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 w w .j a v a 2s . com client.setRegion(RegionUtils.getRegion(regionOrUrl)); } }