UpdateChannelTargetFromDbSystemDetails

class oci.mysql.models.UpdateChannelTargetFromDbSystemDetails(**kwargs)

Bases: UpdateChannelTargetDetails

Parameters detailing how to provision the target endpoint that is a DB System.

Methods:

__init__(**kwargs)

Initializes a new UpdateChannelTargetFromDbSystemDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes:

applier_username

Gets the applier_username of this UpdateChannelTargetFromDbSystemDetails.

channel_name

Gets the channel_name of this UpdateChannelTargetFromDbSystemDetails.

delay_in_seconds

Gets the delay_in_seconds of this UpdateChannelTargetFromDbSystemDetails.

filters

Gets the filters of this UpdateChannelTargetFromDbSystemDetails.

tables_without_primary_key_handling

Gets the tables_without_primary_key_handling of this UpdateChannelTargetFromDbSystemDetails.

target_type

[Required] Gets the target_type of this UpdateChannelTargetDetails.

__init__(**kwargs)

Initializes a new UpdateChannelTargetFromDbSystemDetails object with values from keyword arguments. The default value of the target_type attribute of this class is DBSYSTEM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • target_type (str) – The value to assign to the target_type property of this UpdateChannelTargetFromDbSystemDetails.

  • channel_name (str) – The value to assign to the channel_name property of this UpdateChannelTargetFromDbSystemDetails.

  • applier_username (str) – The value to assign to the applier_username property of this UpdateChannelTargetFromDbSystemDetails.

  • filters (list[oci.mysql.models.ChannelFilter]) – The value to assign to the filters property of this UpdateChannelTargetFromDbSystemDetails.

  • tables_without_primary_key_handling (str) – The value to assign to the tables_without_primary_key_handling property of this UpdateChannelTargetFromDbSystemDetails.

  • delay_in_seconds (int) – The value to assign to the delay_in_seconds property of this UpdateChannelTargetFromDbSystemDetails.

property applier_username

Gets the applier_username of this UpdateChannelTargetFromDbSystemDetails. The username for the replication applier of the target MySQL DB System.

Returns

The applier_username of this UpdateChannelTargetFromDbSystemDetails.

Return type

str

property channel_name

Gets the channel_name of this UpdateChannelTargetFromDbSystemDetails. The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.

Returns

The channel_name of this UpdateChannelTargetFromDbSystemDetails.

Return type

str

property delay_in_seconds

Gets the delay_in_seconds of this UpdateChannelTargetFromDbSystemDetails. Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.

Returns

The delay_in_seconds of this UpdateChannelTargetFromDbSystemDetails.

Return type

int

property filters

Gets the filters of this UpdateChannelTargetFromDbSystemDetails. Replication filter rules to be applied at the DB System Channel target.

Returns

The filters of this UpdateChannelTargetFromDbSystemDetails.

Return type

list[oci.mysql.models.ChannelFilter]

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property tables_without_primary_key_handling

Gets the tables_without_primary_key_handling of this UpdateChannelTargetFromDbSystemDetails. Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.

Returns

The tables_without_primary_key_handling of this UpdateChannelTargetFromDbSystemDetails.

Return type

str

property target_type

[Required] Gets the target_type of this UpdateChannelTargetDetails. The specific targetType identifier.

Returns

The target_type of this UpdateChannelTargetDetails.

Return type

str