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 theEventTarget
instance.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 thefirehose
parameter as aEventTargetFirehose
- Returns:
- this builder instance
-
firehose
Configuration used to send events to Amazon Kinesis Data Firehose.- Parameters:
firehose
- the value of thefirehose
parameter as aEventTargetFirehose
, wrapped in anOptional
- Returns:
- this builder instance
-
kinesis
Configuration used to send events to Amazon Kinesis.- Parameters:
kinesis
- the value of thekinesis
parameter as aEventTargetKinesis
- Returns:
- this builder instance
-
kinesis
Configuration used to send events to Amazon Kinesis.- Parameters:
kinesis
- the value of thekinesis
parameter 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_logs
parameter as aEventTargetCloudwatchLogs
- Returns:
- this builder instance
-
cloudwatchLogs
Configuration used to send events to Amazon CloudWatch Logs.- Parameters:
cloudwatchLogs
- the value of thecloudwatch_logs
parameter as aEventTargetCloudwatchLogs
, wrapped in anOptional
- Returns:
- this builder instance
-
build
Constructs theEventTarget
instance.- Returns:
- a new
EventTarget
-