toValue method
Implementation
String toValue() {
switch (this) {
case TriggerType.createPipeline:
return 'CreatePipeline';
case TriggerType.startPipelineExecution:
return 'StartPipelineExecution';
case TriggerType.pollForSourceChanges:
return 'PollForSourceChanges';
case TriggerType.webhook:
return 'Webhook';
case TriggerType.cloudWatchEvent:
return 'CloudWatchEvent';
case TriggerType.putActionRevision:
return 'PutActionRevision';
}
}