Interface FlowOperation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FlowOperation.Builder,
,FlowOperation> SdkBuilder<FlowOperation.Builder,
,FlowOperation> SdkPojo
- Enclosing class:
FlowOperation
@Mutable
@NotThreadSafe
public static interface FlowOperation.Builder
extends SdkPojo, CopyableBuilder<FlowOperation.Builder,FlowOperation>
-
Method Summary
Modifier and TypeMethodDescriptionflowFilters
(Collection<FlowFilter> flowFilters) Defines the scope a flow operation.flowFilters
(Consumer<FlowFilter.Builder>... flowFilters) Defines the scope a flow operation.flowFilters
(FlowFilter... flowFilters) Defines the scope a flow operation.minimumFlowAgeInSeconds
(Integer minimumFlowAgeInSeconds) The reqestedFlowOperation
ignores flows with an age (in seconds) lower thanMinimumFlowAgeInSeconds
.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 Details
-
minimumFlowAgeInSeconds
The reqested
FlowOperation
ignores flows with an age (in seconds) lower thanMinimumFlowAgeInSeconds
. You provide this for start commands.- Parameters:
minimumFlowAgeInSeconds
- The reqestedFlowOperation
ignores flows with an age (in seconds) lower thanMinimumFlowAgeInSeconds
. You provide this for start commands.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 theFlowFilter.Builder
avoiding the need to create one manually viaFlowFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toflowFilters(List<FlowFilter>)
.- Parameters:
flowFilters
- a consumer that will call methods onFlowFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-