Interface FlowOperation.Builder

  • Method Details

    • minimumFlowAgeInSeconds

      FlowOperation.Builder minimumFlowAgeInSeconds(Integer minimumFlowAgeInSeconds)

      The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands.

      Parameters:
      minimumFlowAgeInSeconds - The reqested FlowOperation ignores flows with an age (in seconds) lower than MinimumFlowAgeInSeconds. You provide this for start commands.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowFilters

      FlowOperation.Builder flowFilters(Collection<FlowFilter> flowFilters)

      Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

      Parameters:
      flowFilters - Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowFilters

      FlowOperation.Builder flowFilters(FlowFilter... flowFilters)

      Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

      Parameters:
      flowFilters - Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • flowFilters

      FlowOperation.Builder flowFilters(Consumer<FlowFilter.Builder>... flowFilters)

      Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.

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

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

      Parameters:
      flowFilters - a consumer that will call methods on FlowFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: