Class DeadLetterConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.eb.v20210416.models.DeadLetterConfig
-
public class DeadLetterConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DeadLetterConfig()DeadLetterConfig(DeadLetterConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CkafkaDeliveryParamsgetCkafkaDeliveryParams()Get 设置了DLQ方式后,此选项必填.StringgetDisposeMethod()Get 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERRORvoidsetCkafkaDeliveryParams(CkafkaDeliveryParams CkafkaDeliveryParams)Set 设置了DLQ方式后,此选项必填.voidsetDisposeMethod(String DisposeMethod)Set 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERRORvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DeadLetterConfig
public DeadLetterConfig()
-
DeadLetterConfig
public DeadLetterConfig(DeadLetterConfig 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.
-
-
Method Detail
-
getDisposeMethod
public String getDisposeMethod()
Get 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR- Returns:
- DisposeMethod 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR
-
setDisposeMethod
public void setDisposeMethod(String DisposeMethod)
Set 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR- Parameters:
DisposeMethod- 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR
-
getCkafkaDeliveryParams
public CkafkaDeliveryParams getCkafkaDeliveryParams()
Get 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CkafkaDeliveryParams 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中 注意:此字段可能返回 null,表示取不到有效值。
-
setCkafkaDeliveryParams
public void setCkafkaDeliveryParams(CkafkaDeliveryParams CkafkaDeliveryParams)
Set 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CkafkaDeliveryParams- 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中 注意:此字段可能返回 null,表示取不到有效值。
-
-