Class MkRegion

  • All Implemented Interfaces:
    Region

    @Immutable
    @Loggable(1)
    public final class MkRegion
    extends Object
    implements Region
    Mock version of Region.
    Since:
    0.10
    • Constructor Detail

      • MkRegion

        public MkRegion​(MkData dta)
        Public ctor.
        Parameters:
        dta - Data to use
    • Method Detail

      • aws

        public com.amazonaws.services.dynamodbv2.AmazonDynamoDB aws()
        Description copied from interface: Region
        Get DynamoDB client.
        Specified by:
        aws in interface Region
        Returns:
        The client
      • table

        public Table table​(String name)
        Description copied from interface: Region
        Get one table.
        Specified by:
        table in interface Region
        Parameters:
        name - Table name
        Returns:
        Table