AWSDynamoDBObjectMapperConfiguration
Objective-C
@interface AWSDynamoDBObjectMapperConfiguration : NSObject <NSCopying>
Swift
class AWSDynamoDBObjectMapperConfiguration : NSObject, NSCopying
Immutable configuration object for service call behavior. An instance of this configuration is supplied to every DynamoDBMapper at construction. New instances can be given to the mapper object on individual save, load, and remove operations to override the defaults.
-
The behavior for the save operation.
Declaration
Objective-C
@property (nonatomic) AWSDynamoDBObjectMapperSaveBehavior saveBehavior;
Swift
var saveBehavior: AWSDynamoDBObjectMapperSaveBehavior { get set }
-
When set to @YES, AWSDynamoDBObjectMapper uses consistent read to read data from the table. When set to @NO, it uses eventually consistant read.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *consistentRead;
Swift
var consistentRead: NSNumber? { get set }