Package com.mypurecloud.sdk.v2.model
Class Trigger
java.lang.Object
com.mypurecloud.sdk.v2.model.Trigger
- All Implemented Interfaces:
Serializable
Defines a process automation trigger.
- 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.Whether or not the trigger is enabledbooleaneventTTLSeconds(Integer eventTTLSeconds) Optional length of time that events are meaningful after origination.getId()getName()inthashCode()matchCriteria(List<MatchCriteria> matchCriteria) The configuration for when a trigger is considered to be a match for an eventThe 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) voidsetVersion(Long version) target(TriggerTarget target) The target to invoke when a matching event is receivedThe topic that will cause the trigger to be invokedtoString()Version of this trigger
-
Constructor Details
-
Trigger
public Trigger() -
Trigger
-
-
Method Details
-
getId
-
name
The name of the trigger -
getName
-
setName
-
topicName
The topic that will cause the trigger to be invoked -
getTopicName
-
setTopicName
-
target
The target to invoke when a matching event is received -
getTarget
-
setTarget
-
version
Version of this trigger -
getVersion
-
setVersion
-
enabled
Whether or not the trigger is enabled -
getEnabled
-
setEnabled
-
matchCriteria
The configuration for when a trigger is considered to be a match for an event -
getMatchCriteria
-
setMatchCriteria
-
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
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-