Class LiveTailRequest.Builder
java.lang.Object
codes.grow.packages.cloudwatchlogs.LiveTailRequest.Builder
- Enclosing class:
LiveTailRequest
Builder of
LiveTailRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.Sets groups: log group names or ARNs (1–10); names are converted to ARNs.Sets pattern: CloudWatch filter pattern.streamPrefixes(List<String> value) Sets streamPrefixes: only streams with these prefixes (only with one group).Sets streams: only these streams (only with one group; not with streamPrefixes).
-
Method Details
-
groups
Sets groups: log group names or ARNs (1–10); names are converted to ARNs.- Parameters:
value- the value- Returns:
- this builder
-
streams
Sets streams: only these streams (only with one group; not with streamPrefixes).- Parameters:
value- the value- Returns:
- this builder
-
streamPrefixes
Sets streamPrefixes: only streams with these prefixes (only with one group).- Parameters:
value- the value- Returns:
- this builder
-
pattern
Sets pattern: CloudWatch filter pattern.- Parameters:
value- the value- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-