Interface CloudWatchLogsRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CloudWatchLogsRule.Builder,,CloudWatchLogsRule> SdkBuilder<CloudWatchLogsRule.Builder,,CloudWatchLogsRule> SdkPojo
- Enclosing class:
CloudWatchLogsRule
@Mutable
@NotThreadSafe
public static interface CloudWatchLogsRule.Builder
extends SdkPojo, CopyableBuilder<CloudWatchLogsRule.Builder,CloudWatchLogsRule>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<CloudWatchLogsFilter> filters) The list of filters to apply when reading agent traces.filters(Consumer<CloudWatchLogsFilter.Builder>... filters) The list of filters to apply when reading agent traces.filters(CloudWatchLogsFilter... filters) The list of filters to apply when reading agent traces.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
-
filters
The list of filters to apply when reading agent traces.
- Parameters:
filters- The list of filters to apply when reading agent traces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The list of filters to apply when reading agent traces.
- Parameters:
filters- The list of filters to apply when reading agent traces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The list of filters to apply when reading agent traces.
This is a convenience method that creates an instance of theCloudWatchLogsFilter.Builderavoiding the need to create one manually viaCloudWatchLogsFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<CloudWatchLogsFilter>).- Parameters:
filters- a consumer that will call methods onCloudWatchLogsFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-