Interface FlowOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FlowOperation.Builder,,FlowOperation> SdkBuilder<FlowOperation.Builder,,FlowOperation> SdkPojo
- Enclosing class:
FlowOperation
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 reqestedFlowOperationignores flows with an age (in seconds) lower thanMinimumFlowAgeInSeconds.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
minimumFlowAgeInSeconds
The reqested
FlowOperationignores flows with an age (in seconds) lower thanMinimumFlowAgeInSeconds. You provide this for start commands.- Parameters:
minimumFlowAgeInSeconds- The reqestedFlowOperationignores 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.Builderavoiding the need to create one manually viaFlowFilter.builder().When the
Consumercompletes,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:
-