Uses of Class
com.tencentcloudapi.dts.v20211206.models.KeyValuePairOption
-
Packages that use KeyValuePairOption Package Description com.tencentcloudapi.dts.v20211206.models -
-
Uses of KeyValuePairOption in com.tencentcloudapi.dts.v20211206.models
Methods in com.tencentcloudapi.dts.v20211206.models that return KeyValuePairOption Modifier and Type Method Description KeyValuePairOption[]DBEndpointInfo. getExtraAttr()Get MongoDB可定义如下的参数: ['AuthDatabase':'admin', 'AuthFlag': "1", 'AuthMechanism':"SCRAM-SHA-1"] 注意:此字段可能返回 null,表示取不到有效值。KeyValuePairOption[]MigrateOption. getExtraAttr()Get 其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数: ["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作) "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) ] 注意:此字段可能返回 null,表示取不到有效值。Methods in com.tencentcloudapi.dts.v20211206.models with parameters of type KeyValuePairOption Modifier and Type Method Description voidDBEndpointInfo. setExtraAttr(KeyValuePairOption[] ExtraAttr)Set MongoDB可定义如下的参数: ['AuthDatabase':'admin', 'AuthFlag': "1", 'AuthMechanism':"SCRAM-SHA-1"] 注意:此字段可能返回 null,表示取不到有效值。voidMigrateOption. setExtraAttr(KeyValuePairOption[] ExtraAttr)Set 其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数: ["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作) "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) ] 注意:此字段可能返回 null,表示取不到有效值。Constructors in com.tencentcloudapi.dts.v20211206.models with parameters of type KeyValuePairOption Constructor Description KeyValuePairOption(KeyValuePairOption source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-