Struct migrate_state_dynamodb::DdbStateLockBuilder[][src]

pub struct DdbStateLockBuilder(_);
Expand description

Builder for DdbStateLock object, see its methods for available configurations. To finish building the object call build() method.

Implementations

Override partition key attribute name used for the stored migration state record.

Default: "partition_key"

Override partition key attribute value used for stored migration state record.

Default: "migrate-state" (string DynamoDB type)

Override sort key attribute name used for stored migration state record.

Default: no sort key attribute is added to the record. If sort_key_attr_val was not set, then it’s value will be set to "migrate-state" (string DynamoDB type)

Override sort key attribute value used for stored migration state record.

Default: no sort key attribute is added to the record. If sort_key_attr_name was not set, then it’s value will be set to "sort_key"

Override payload attribute name used for stored migration state record.

Default: "payload"

Consume the builder and return final configured DdbStateLock object

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.