Package com.ngrok.definitions
Class EventTargetCloudwatchLogs.Builder
java.lang.Object
com.ngrok.definitions.EventTargetCloudwatchLogs.Builder
- Enclosing class:
- EventTargetCloudwatchLogs
Builder class for
EventTargetCloudwatchLogs
.-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for how to authenticate into your AWS account.Configuration for how to authenticate into your AWS account.build()
Constructs theEventTargetCloudwatchLogs
instance.logGroupArn
(String logGroupArn) An Amazon Resource Name specifying the CloudWatch Logs group to deposit events into.logGroupArn
(Optional<String> logGroupArn) An Amazon Resource Name specifying the CloudWatch Logs group to deposit events into.
-
Method Details
-
auth
Configuration for how to authenticate into your AWS account. Exactly one ofrole
orcreds
should be configured.- Parameters:
auth
- the value of theauth
parameter as aAwsAuth
- Returns:
- this builder instance
-
auth
Configuration for how to authenticate into your AWS account. Exactly one ofrole
orcreds
should be configured. -
logGroupArn
An Amazon Resource Name specifying the CloudWatch Logs group to deposit events into.- Parameters:
logGroupArn
- the value of thelog_group_arn
parameter as aString
- Returns:
- this builder instance
-
logGroupArn
An Amazon Resource Name specifying the CloudWatch Logs group to deposit events into. -
build
Constructs theEventTargetCloudwatchLogs
instance.- Returns:
- a new
EventTargetCloudwatchLogs
-