Interface Region

  • All Known Implementing Classes:
    MkRegion, Region.Prefixed, Region.Simple, ReRegion

    public interface Region
    Amazon DynamoDB region.

    It is recommended to use Region.Simple in most cases.

    You can use aws() method to get access to Amazon DynamoDB client directly.

    Since version 0.9 it is strongly recommended to wrap your region in ReRegion before use, for example:

     Region region = new ReRegion(new Region.Simple(credentials));

    After all operations with the region are finished, it can be optionally shutdown invoking AmazonDynamoDB.shutdown(). Callers are not expected to call it, but can if they want to explicitly release any open resources and forcibly terminate all pending asynchronous service calls. Once a client has been shutdown, it should not be used to make any more requests.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Region.Prefixed
      All tables have a prefix in front of their names.
      static class  Region.Simple
      Simple region, basic implementation.
    • Method Detail

      • aws aws()
        Get DynamoDB client.
        The client
      • table

        Table table​(String name)
        Get one table.
        name - Table name