Package com.mypurecloud.sdk.v2.model
Class CreateTriggerRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.CreateTriggerRequest
- All Implemented Interfaces:
Serializable
CreateTriggerRequest
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelayBySeconds(Integer delayBySeconds) Optional delay invoking target after trigger fires.description(String description) Description of the trigger.Boolean indicating if Trigger is enabledbooleaneventTTLSeconds(Integer eventTTLSeconds) Optional length of time that events are meaningful after origination.getName()inthashCode()matchCriteria(List<MatchCriteria> matchCriteria) The configuration for when a trigger is considered to be a match for an event.The name of the triggervoidsetDelayBySeconds(Integer delayBySeconds) voidsetDescription(String description) voidsetEnabled(Boolean enabled) voidsetEventTTLSeconds(Integer eventTTLSeconds) voidsetMatchCriteria(List<MatchCriteria> matchCriteria) voidvoidsetTarget(TriggerTarget target) voidsetTopicName(String topicName) target(TriggerTarget target) The target to invoke when a matching event is receivedThe topic that will cause the trigger to be invoked.toString()
-
Constructor Details
-
CreateTriggerRequest
public CreateTriggerRequest() -
CreateTriggerRequest
-
-
Method Details
-
target
The target to invoke when a matching event is received -
getTarget
-
setTarget
-
enabled
Boolean indicating if Trigger is enabled -
getEnabled
-
setEnabled
-
matchCriteria
The configuration for when a trigger is considered to be a match for an event. When not provided, all events will fire the trigger -
getMatchCriteria
-
setMatchCriteria
-
name
The name of the trigger -
getName
-
setName
-
topicName
The topic that will cause the trigger to be invoked. Cannot be updated after creation. Valid topics can be found at /processautomation/triggers/topics -
getTopicName
-
setTopicName
-
eventTTLSeconds
Optional length of time that events are meaningful after origination. Events older than this threshold may be dropped if the platform is delayed in processing events. Unset means events are valid indefinitely, otherwise must be set to at least 10 seconds. Only one of eventTTLSeconds or delayBySeconds can be set. -
getEventTTLSeconds
-
setEventTTLSeconds
-
delayBySeconds
Optional delay invoking target after trigger fires. Must be in the range of 60 to 900 seconds. Only one of eventTTLSeconds or delayBySeconds can be set. -
getDelayBySeconds
-
setDelayBySeconds
-
description
Description of the trigger. Can be up to 512 characters in length. -
getDescription
-
setDescription
-
equals
-
hashCode
public int hashCode() -
toString
-