Package com.ngrok.definitions
Class EventTarget.Builder
java.lang.Object
com.ngrok.definitions.EventTarget.Builder
- Enclosing class:
- EventTarget
Builder class for
EventTarget.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constructs theEventTargetinstance.cloudwatchLogs(EventTargetCloudwatchLogs cloudwatchLogs) Configuration used to send events to Amazon CloudWatch Logs.cloudwatchLogs(Optional<EventTargetCloudwatchLogs> cloudwatchLogs) Configuration used to send events to Amazon CloudWatch Logs.firehose(EventTargetFirehose firehose) Configuration used to send events to Amazon Kinesis Data Firehose.firehose(Optional<EventTargetFirehose> firehose) Configuration used to send events to Amazon Kinesis Data Firehose.kinesis(EventTargetKinesis kinesis) Configuration used to send events to Amazon Kinesis.kinesis(Optional<EventTargetKinesis> kinesis) Configuration used to send events to Amazon Kinesis.
-
Method Details
-
firehose
Configuration used to send events to Amazon Kinesis Data Firehose.- Parameters:
firehose- the value of thefirehoseparameter as aEventTargetFirehose- Returns:
- this builder instance
-
firehose
Configuration used to send events to Amazon Kinesis Data Firehose.- Parameters:
firehose- the value of thefirehoseparameter as aEventTargetFirehose, wrapped in anOptional- Returns:
- this builder instance
-
kinesis
Configuration used to send events to Amazon Kinesis.- Parameters:
kinesis- the value of thekinesisparameter as aEventTargetKinesis- Returns:
- this builder instance
-
kinesis
Configuration used to send events to Amazon Kinesis.- Parameters:
kinesis- the value of thekinesisparameter as aEventTargetKinesis, wrapped in anOptional- Returns:
- this builder instance
-
cloudwatchLogs
Configuration used to send events to Amazon CloudWatch Logs.- Parameters:
cloudwatchLogs- the value of thecloudwatch_logsparameter as aEventTargetCloudwatchLogs- Returns:
- this builder instance
-
cloudwatchLogs
Configuration used to send events to Amazon CloudWatch Logs.- Parameters:
cloudwatchLogs- the value of thecloudwatch_logsparameter as aEventTargetCloudwatchLogs, wrapped in anOptional- Returns:
- this builder instance
-
build
Constructs theEventTargetinstance.- Returns:
- a new
EventTarget
-