Interface CloudWatchLogsSourceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLogsSourceConfig.Builder,,CloudWatchLogsSourceConfig> SdkBuilder<CloudWatchLogsSourceConfig.Builder,,CloudWatchLogsSourceConfig> SdkPojo
- Enclosing class:
CloudWatchLogsSourceConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe end of the time window to read sessions from.logGroupNamePrefixes(String... logGroupNamePrefixes) Prefixes of the names of the log groups to read, from 1 to 5.logGroupNamePrefixes(Collection<String> logGroupNamePrefixes) Prefixes of the names of the log groups to read, from 1 to 5.logGroupNames(String... logGroupNames) The names of the log groups to read, from 1 to 5.logGroupNames(Collection<String> logGroupNames) The names of the log groups to read, from 1 to 5.serviceNames(String... serviceNames) The service name of the agent, which matches theservice.nameresource attribute in its traces.serviceNames(Collection<String> serviceNames) The service name of the agent, which matches theservice.nameresource attribute in its traces.The start of the time window to read sessions from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
logGroupNames
The names of the log groups to read, from 1 to 5. You can't specify this together with
logGroupNamePrefixes.- Parameters:
logGroupNames- The names of the log groups to read, from 1 to 5. You can't specify this together withlogGroupNamePrefixes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupNames
The names of the log groups to read, from 1 to 5. You can't specify this together with
logGroupNamePrefixes.- Parameters:
logGroupNames- The names of the log groups to read, from 1 to 5. You can't specify this together withlogGroupNamePrefixes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupNamePrefixes
Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together with
logGroupNames.- Parameters:
logGroupNamePrefixes- Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together withlogGroupNames.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupNamePrefixes
Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together with
logGroupNames.- Parameters:
logGroupNamePrefixes- Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together withlogGroupNames.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNames
The service name of the agent, which matches the
service.nameresource attribute in its traces. Specify exactly one.- Parameters:
serviceNames- The service name of the agent, which matches theservice.nameresource attribute in its traces. Specify exactly one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNames
The service name of the agent, which matches the
service.nameresource attribute in its traces. Specify exactly one.- Parameters:
serviceNames- The service name of the agent, which matches theservice.nameresource attribute in its traces. Specify exactly one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start of the time window to read sessions from. The default is 7 days before
endTime.- Parameters:
startTime- The start of the time window to read sessions from. The default is 7 days beforeendTime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end of the time window to read sessions from. The default is the time the generation starts.
- Parameters:
endTime- The end of the time window to read sessions from. The default is the time the generation starts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-