Interface StartFlowCaptureRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartFlowCaptureRequest.Builder,
,StartFlowCaptureRequest> NetworkFirewallRequest.Builder
,SdkBuilder<StartFlowCaptureRequest.Builder,
,StartFlowCaptureRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartFlowCaptureRequest
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The ID of the Availability Zone where the firewall is located.firewallArn
(String firewallArn) The Amazon Resource Name (ARN) of the firewall.flowFilters
(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
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.vpcEndpointAssociationArn
(String vpcEndpointAssociationArn) The Amazon Resource Name (ARN) of a VPC endpoint association.vpcEndpointId
(String vpcEndpointId) A unique identifier for the primary endpoint associated with a firewall.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallRequest.Builder
build
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
-
firewallArn
The Amazon Resource Name (ARN) of the firewall.
- Parameters:
firewallArn
- The Amazon Resource Name (ARN) of the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The ID of the Availability Zone where the firewall is located. For example,
us-east-2a
.Defines the scope a flow operation. You can use up to 20 filters to configure a single flow operation.
- Parameters:
availabilityZone
- The ID of the Availability Zone where the firewall is located. For example,us-east-2a
.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.
-
vpcEndpointAssociationArn
The Amazon Resource Name (ARN) of a VPC endpoint association.
- Parameters:
vpcEndpointAssociationArn
- The Amazon Resource Name (ARN) of a VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointId
A unique identifier for the primary endpoint associated with a firewall.
- Parameters:
vpcEndpointId
- A unique identifier for the primary endpoint associated with a firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimumFlowAgeInSeconds
The reqested
FlowOperation
ignores flows with an age (in seconds) lower thanMinimumFlowAgeInSeconds
. You provide this for start commands.We recommend setting this value to at least 1 minute (60 seconds) to reduce chance of capturing flows that are not yet established.
- Parameters:
minimumFlowAgeInSeconds
- The reqestedFlowOperation
ignores flows with an age (in seconds) lower thanMinimumFlowAgeInSeconds
. You provide this for start commands.We recommend setting this value to at least 1 minute (60 seconds) to reduce chance of capturing flows that are not yet established.
- 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:
-
overrideConfiguration
StartFlowCaptureRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartFlowCaptureRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-