List of usage examples for com.amazonaws.services.simpledb AmazonSimpleDBClient setRegion
@Deprecated public void setRegion(Region region) throws IllegalArgumentException
From source file:pl.worker.Main.java
public static void putToSDB(String file) { AmazonSimpleDBClient simpleDB = new AmazonSimpleDBClient(); simpleDB.setRegion(Region.getRegion(Regions.US_WEST_2)); simpleDB.putAttributes(new PutAttributesRequest("leszczynska_project", "Przetworzono plik", Arrays.asList(new ReplaceableAttribute("key", file, Boolean.FALSE)))); }