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 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

      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

      The filters that you want to apply to the logs.

      This is a convenience method that creates an instance of the Filter.Builder avoiding the need to create one manually via Filter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<Filter>).

      Parameters:
      filters - a consumer that will call methods on Filter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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: