SubscriptionArgs class
The set of arguments for Subscription. The set of arguments for Subscription.
Constructors
-
SubscriptionArgs({required Input<
String> conninfo, Input<bool> ? createSlot, Input<String> ? database, Input<String> ? name, required Input<List< publications, Input<String> >String> ? slotName}) -
Creates a new SubscriptionArgs.
conninfoThe connection string to the publisher. It should follow the keyword/value formatcreateSlotSpecifies whether the command should create the replication slot on the publisher. Default behavior is truedatabaseWhich database to create the subscription on. Defaults to provider database.nameThe name of the publication.publicationsNames of the publications on the publisher to subscribe toslotNameName of the replication slot to use. The default behavior is to use the name of the subscription for the slot nameconst -
SubscriptionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
conninfo
→ Input<
String> -
The connection string to the publisher. It should follow the keyword/value format
final
-
createSlot
→ Input<
bool> ? -
Specifies whether the command should create the replication slot on the publisher. Default behavior is true
final
-
database
→ Input<
String> ? -
Which database to create the subscription on. Defaults to provider database.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
The name of the publication.
final
-
publications
→ Input<
List< String> > -
Names of the publications on the publisher to subscribe to
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slotName
→ Input<
String> ? -
Name of the replication slot to use. The default behavior is to use the name of the subscription for the slot name
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited