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 theEventTargetCloudwatchLogsinstance.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 ofroleorcredsshould be configured.- Parameters:
auth- the value of theauthparameter as aAwsAuth- Returns:
- this builder instance
-
auth
Configuration for how to authenticate into your AWS account. Exactly one ofroleorcredsshould be configured. -
logGroupArn
An Amazon Resource Name specifying the CloudWatch Logs group to deposit events into.- Parameters:
logGroupArn- the value of thelog_group_arnparameter as aString- Returns:
- this builder instance
-
logGroupArn
An Amazon Resource Name specifying the CloudWatch Logs group to deposit events into. -
build
Constructs theEventTargetCloudwatchLogsinstance.- Returns:
- a new
EventTargetCloudwatchLogs
-