public static class GetRuleResponseBody.GetRuleResponseBodyDataTargets
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
GetRuleResponseBody.GetRuleResponseBodyDataTargetsConcurrentConfig |
concurrentConfig |
GetRuleResponseBody.GetRuleResponseBodyDataTargetsDeadLetterQueue |
deadLetterQueue
The dead-letter queue.
|
Map<String,?> |
detailMap
The information about the event target.
|
String |
endpoint
The endpoint of the event target.
|
String |
errorsTolerance
The fault tolerance policy.
|
String |
id
The ID of the event target.
|
List<GetRuleResponseBody.GetRuleResponseBodyDataTargetsParamList> |
paramList
The parameters that are configured for the event target.
|
String |
pushRetryStrategy
The retry policy that is used to push failed events.
|
String |
pushSelector
The transformer that is used to push events.
|
String |
type
The type of the event target.
|
| 构造器和说明 |
|---|
GetRuleResponseBodyDataTargets() |
@NameInMap(value="ConcurrentConfig") public GetRuleResponseBody.GetRuleResponseBodyDataTargetsConcurrentConfig concurrentConfig
@NameInMap(value="DeadLetterQueue") public GetRuleResponseBody.GetRuleResponseBodyDataTargetsDeadLetterQueue deadLetterQueue
The dead-letter queue.
@NameInMap(value="DetailMap") public Map<String,?> detailMap
The information about the event target.
@NameInMap(value="Endpoint") public String endpoint
The endpoint of the event target.
example:acs:mns:cn-hangzhou:123456789098****:queues/myqueue
@NameInMap(value="ErrorsTolerance") public String errorsTolerance
The fault tolerance policy. Valid values: ALL and NONE. ALL: Fault tolerance is allowed. If an error occurs in an event, event processing is not blocked. If the event fails to be sent after the maximum number of retries specified by the retry policy is reached, the event is delivered to the dead-letter queue or discarded based on your configurations. NONE: Fault tolerance is not allowed. If an error occurs in an event and the event fails to be sent after the maximum number of retries specified by the retry policy is reached, event processing is blocked.
example:ALL
@NameInMap(value="Id") public String id
The ID of the event target.
example:1
@NameInMap(value="ParamList") public List<GetRuleResponseBody.GetRuleResponseBodyDataTargetsParamList> paramList
The parameters that are configured for the event target.
@NameInMap(value="PushRetryStrategy") public String pushRetryStrategy
The retry policy that is used to push failed events. Valid values: BACKOFF_RETRY and EXPONENTIAL_DECAY_RETRY. BACKOFF_RETRY: backoff retry. A failed event can be retried up to three times. The interval between two consecutive retries is a random value between 10 seconds and 20 seconds. EXPONENTIAL_DECAY_RETRY: exponential decay retry. A failed event can be retried up to 176 times. The interval between two consecutive retries exponentially increases to a maximum of 512 seconds. The total retry time is 1 day. The specific retry intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512 seconds. The interval of 512 seconds is used for 167 retries.
example:BACKOFF_RETRY
@NameInMap(value="PushSelector") public String pushSelector
The transformer that is used to push events.
example:MATCHED_EVENT
@NameInMap(value="Type") public String type
The type of the event target. For more information, see Event target parameters.
example:acs.mns.queue
public static GetRuleResponseBody.GetRuleResponseBodyDataTargets build(Map<String,?> map) throws Exception
Exceptionpublic GetRuleResponseBody.GetRuleResponseBodyDataTargets setConcurrentConfig(GetRuleResponseBody.GetRuleResponseBodyDataTargetsConcurrentConfig concurrentConfig)
public GetRuleResponseBody.GetRuleResponseBodyDataTargetsConcurrentConfig getConcurrentConfig()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setDeadLetterQueue(GetRuleResponseBody.GetRuleResponseBodyDataTargetsDeadLetterQueue deadLetterQueue)
public GetRuleResponseBody.GetRuleResponseBodyDataTargetsDeadLetterQueue getDeadLetterQueue()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setDetailMap(Map<String,?> detailMap)
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setEndpoint(String endpoint)
public String getEndpoint()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setErrorsTolerance(String errorsTolerance)
public String getErrorsTolerance()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setId(String id)
public String getId()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setParamList(List<GetRuleResponseBody.GetRuleResponseBodyDataTargetsParamList> paramList)
public List<GetRuleResponseBody.GetRuleResponseBodyDataTargetsParamList> getParamList()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setPushRetryStrategy(String pushRetryStrategy)
public String getPushRetryStrategy()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setPushSelector(String pushSelector)
public String getPushSelector()
public GetRuleResponseBody.GetRuleResponseBodyDataTargets setType(String type)
public String getType()
Copyright © 2026. All rights reserved.