public class TaskNotifyConfig extends AbstractModel
Constructor and Description |
---|
TaskNotifyConfig() |
TaskNotifyConfig(TaskNotifyConfig 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.
|
Modifier and Type | Method and Description |
---|---|
AwsSQS |
getAwsSQS()
Get The AWS SQS queue.
|
String |
getCmqModel()
Get The CMQ or TDMQ-CMQ model.
|
String |
getCmqRegion()
Get The CMQ or TDMQ-CMQ region, such as `sh` (Shanghai) or `bj` (Beijing).
|
String |
getNotifyMode()
Get Workflow notification method.
|
String |
getNotifyType()
Get The notification type.
|
String |
getNotifyUrl()
Get HTTP callback URL, required if `NotifyType` is set to `URL`
|
String |
getQueueName()
Get The CMQ or TDMQ-CMQ queue to receive notifications.
|
String |
getTopicName()
Get The CMQ or TDMQ-CMQ topic to receive notifications.
|
void |
setAwsSQS(AwsSQS AwsSQS)
Set The AWS SQS queue.
|
void |
setCmqModel(String CmqModel)
Set The CMQ or TDMQ-CMQ model.
|
void |
setCmqRegion(String CmqRegion)
Set The CMQ or TDMQ-CMQ region, such as `sh` (Shanghai) or `bj` (Beijing).
|
void |
setNotifyMode(String NotifyMode)
Set Workflow notification method.
|
void |
setNotifyType(String NotifyType)
Set The notification type.
|
void |
setNotifyUrl(String NotifyUrl)
Set HTTP callback URL, required if `NotifyType` is set to `URL`
|
void |
setQueueName(String QueueName)
Set The CMQ or TDMQ-CMQ queue to receive notifications.
|
void |
setTopicName(String TopicName)
Set The CMQ or TDMQ-CMQ topic to receive notifications.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public TaskNotifyConfig()
public TaskNotifyConfig(TaskNotifyConfig source)
public String getCmqModel()
public void setCmqModel(String CmqModel)
CmqModel
- The CMQ or TDMQ-CMQ model. Valid values: Queue, Topic.public String getCmqRegion()
public void setCmqRegion(String CmqRegion)
CmqRegion
- The CMQ or TDMQ-CMQ region, such as `sh` (Shanghai) or `bj` (Beijing).public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- The CMQ or TDMQ-CMQ topic to receive notifications. This parameter is valid when `CmqModel` is `Topic`.public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- The CMQ or TDMQ-CMQ queue to receive notifications. This parameter is valid when `CmqModel` is `Queue`.public String getNotifyMode()
public void setNotifyMode(String NotifyMode)
NotifyMode
- Workflow notification method. Valid values: Finish, Change. If this parameter is left empty, `Finish` will be used.public String getNotifyType()
public void setNotifyType(String NotifyType)
NotifyType
- The notification type. Valid values:
public String getNotifyUrl()
public void setNotifyUrl(String NotifyUrl)
NotifyUrl
- HTTP callback URL, required if `NotifyType` is set to `URL`public AwsSQS getAwsSQS()
public void setAwsSQS(AwsSQS AwsSQS)
AwsSQS
- The AWS SQS queue. This parameter is required if `NotifyType` is `AWS-SQS`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.