Interface CloudWatchLogsTraceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLogsTraceConfig.Builder,,CloudWatchLogsTraceConfig> SdkBuilder<CloudWatchLogsTraceConfig.Builder,,CloudWatchLogsTraceConfig> SdkPojo
- Enclosing class:
CloudWatchLogsTraceConfig
@Mutable
@NotThreadSafe
public static interface CloudWatchLogsTraceConfig.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLogsTraceConfig.Builder,CloudWatchLogsTraceConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe end time of the time range to read traces from.logGroupArns(String... logGroupArns) The list of CloudWatch log group ARNs to read agent traces from.logGroupArns(Collection<String> logGroupArns) The list of CloudWatch log group ARNs to read agent traces from.Optional rule configuration for filtering traces.rule(CloudWatchLogsRule rule) Optional rule configuration for filtering traces.serviceNames(String... serviceNames) The list of service names to filter traces within the specified log groups.serviceNames(Collection<String> serviceNames) The list of service names to filter traces within the specified log groups.The start time of the time range to read traces 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
-
logGroupArns
The list of CloudWatch log group ARNs to read agent traces from.
- Parameters:
logGroupArns- The list of CloudWatch log group ARNs to read agent traces from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArns
The list of CloudWatch log group ARNs to read agent traces from.
- Parameters:
logGroupArns- The list of CloudWatch log group ARNs to read agent traces from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNames
The list of service names to filter traces within the specified log groups.
- Parameters:
serviceNames- The list of service names to filter traces within the specified log groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceNames
The list of service names to filter traces within the specified log groups.
- Parameters:
serviceNames- The list of service names to filter traces within the specified log groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start time of the time range to read traces from.
- Parameters:
startTime- The start time of the time range to read traces from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the time range to read traces from.
- Parameters:
endTime- The end time of the time range to read traces from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
Optional rule configuration for filtering traces.
- Parameters:
rule- Optional rule configuration for filtering traces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rule
Optional rule configuration for filtering traces.
This is a convenience method that creates an instance of theCloudWatchLogsRule.Builderavoiding the need to create one manually viaCloudWatchLogsRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torule(CloudWatchLogsRule).- Parameters:
rule- a consumer that will call methods onCloudWatchLogsRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-