Interface LoggingFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LoggingFilter.Builder,
,LoggingFilter> SdkBuilder<LoggingFilter.Builder,
,LoggingFilter> SdkPojo
- Enclosing class:
LoggingFilter
public static interface LoggingFilter.Builder
extends SdkPojo, CopyableBuilder<LoggingFilter.Builder,LoggingFilter>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultBehavior
(String defaultBehavior) Default handling for logs that don't match any of the specified filtering conditions.defaultBehavior
(FilterBehavior defaultBehavior) Default handling for logs that don't match any of the specified filtering conditions.filters
(Collection<Filter> filters) The filters that you want to apply to the logs.filters
(Consumer<Filter.Builder>... filters) The filters that you want to apply to the logs.The filters that you want to apply to the logs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
filters
The filters that you want to apply to the logs.
- Parameters:
filters
- The filters that you want to apply to the logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters that you want to apply to the logs.
- Parameters:
filters
- The filters that you want to apply to the logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters that you want to apply to the logs.
This is a convenience method that creates an instance of theFilter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultBehavior
Default handling for logs that don't match any of the specified filtering conditions.
- Parameters:
defaultBehavior
- Default handling for logs that don't match any of the specified filtering conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultBehavior
Default handling for logs that don't match any of the specified filtering conditions.
- Parameters:
defaultBehavior
- Default handling for logs that don't match any of the specified filtering conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-