public static interface CreateTrafficMirrorFilterRuleRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTrafficMirrorFilterRuleRequest.Builder,CreateTrafficMirrorFilterRuleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTrafficMirrorFilterRuleRequest.Builder trafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the filter that this rule is associated with.
trafficMirrorFilterId - The ID of the filter that this rule is associated with.CreateTrafficMirrorFilterRuleRequest.Builder trafficDirection(String trafficDirection)
The type of traffic.
trafficDirection - The type of traffic.TrafficDirection,
TrafficDirectionCreateTrafficMirrorFilterRuleRequest.Builder trafficDirection(TrafficDirection trafficDirection)
The type of traffic.
trafficDirection - The type of traffic.TrafficDirection,
TrafficDirectionCreateTrafficMirrorFilterRuleRequest.Builder ruleNumber(Integer ruleNumber)
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
ruleNumber - The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a
given direction. The rules are processed in ascending order by rule number.CreateTrafficMirrorFilterRuleRequest.Builder ruleAction(String ruleAction)
The action to take on the filtered traffic.
ruleAction - The action to take on the filtered traffic.TrafficMirrorRuleAction,
TrafficMirrorRuleActionCreateTrafficMirrorFilterRuleRequest.Builder ruleAction(TrafficMirrorRuleAction ruleAction)
The action to take on the filtered traffic.
ruleAction - The action to take on the filtered traffic.TrafficMirrorRuleAction,
TrafficMirrorRuleActionCreateTrafficMirrorFilterRuleRequest.Builder destinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination port range.
destinationPortRange - The destination port range.default CreateTrafficMirrorFilterRuleRequest.Builder destinationPortRange(Consumer<TrafficMirrorPortRangeRequest.Builder> destinationPortRange)
The destination port range.
This is a convenience method that creates an instance of theTrafficMirrorPortRangeRequest.Builder
avoiding the need to create one manually via TrafficMirrorPortRangeRequest.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to destinationPortRange(TrafficMirrorPortRangeRequest).
destinationPortRange - a consumer that will call methods on TrafficMirrorPortRangeRequest.BuilderdestinationPortRange(TrafficMirrorPortRangeRequest)CreateTrafficMirrorFilterRuleRequest.Builder sourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The source port range.
sourcePortRange - The source port range.default CreateTrafficMirrorFilterRuleRequest.Builder sourcePortRange(Consumer<TrafficMirrorPortRangeRequest.Builder> sourcePortRange)
The source port range.
This is a convenience method that creates an instance of theTrafficMirrorPortRangeRequest.Builder
avoiding the need to create one manually via TrafficMirrorPortRangeRequest.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to sourcePortRange(TrafficMirrorPortRangeRequest).
sourcePortRange - a consumer that will call methods on TrafficMirrorPortRangeRequest.BuildersourcePortRange(TrafficMirrorPortRangeRequest)CreateTrafficMirrorFilterRuleRequest.Builder protocol(Integer protocol)
The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
protocol - The protocol, for example UDP, to assign to the Traffic Mirror rule.
For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
CreateTrafficMirrorFilterRuleRequest.Builder destinationCidrBlock(String destinationCidrBlock)
The destination CIDR block to assign to the Traffic Mirror rule.
destinationCidrBlock - The destination CIDR block to assign to the Traffic Mirror rule.CreateTrafficMirrorFilterRuleRequest.Builder sourceCidrBlock(String sourceCidrBlock)
The source CIDR block to assign to the Traffic Mirror rule.
sourceCidrBlock - The source CIDR block to assign to the Traffic Mirror rule.CreateTrafficMirrorFilterRuleRequest.Builder description(String description)
The description of the Traffic Mirror rule.
description - The description of the Traffic Mirror rule.CreateTrafficMirrorFilterRuleRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.CreateTrafficMirrorFilterRuleRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
ensure idempotency.CreateTrafficMirrorFilterRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTrafficMirrorFilterRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.