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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggingFilter.BuilderdefaultBehavior(String defaultBehavior)Default handling for logs that don't match any of the specified filtering conditions.LoggingFilter.BuilderdefaultBehavior(FilterBehavior defaultBehavior)Default handling for logs that don't match any of the specified filtering conditions.LoggingFilter.Builderfilters(Collection<Filter> filters)The filters that you want to apply to the logs.LoggingFilter.Builderfilters(Consumer<Filter.Builder>... filters)The filters that you want to apply to the logs.LoggingFilter.Builderfilters(Filter... filters)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
filters
LoggingFilter.Builder filters(Collection<Filter> 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
LoggingFilter.Builder filters(Filter... 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
LoggingFilter.Builder filters(Consumer<Filter.Builder>... filters)
The filters that you want to apply to the logs.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - 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:
#filters(java.util.Collection)
-
defaultBehavior
LoggingFilter.Builder defaultBehavior(String 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:
FilterBehavior,FilterBehavior
-
defaultBehavior
LoggingFilter.Builder defaultBehavior(FilterBehavior 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:
FilterBehavior,FilterBehavior
-
-