public static interface ModifyTrafficMirrorFilterRuleRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyTrafficMirrorFilterRuleRequest.Builder,ModifyTrafficMirrorFilterRuleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyTrafficMirrorFilterRuleRequest.Builder trafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)
The ID of the Traffic Mirror rule.
trafficMirrorFilterRuleId - The ID of the Traffic Mirror rule.ModifyTrafficMirrorFilterRuleRequest.Builder trafficDirection(String trafficDirection)
The type of traffic to assign to the rule.
trafficDirection - The type of traffic to assign to the rule.TrafficDirection,
TrafficDirectionModifyTrafficMirrorFilterRuleRequest.Builder trafficDirection(TrafficDirection trafficDirection)
The type of traffic to assign to the rule.
trafficDirection - The type of traffic to assign to the rule.TrafficDirection,
TrafficDirectionModifyTrafficMirrorFilterRuleRequest.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.ModifyTrafficMirrorFilterRuleRequest.Builder ruleAction(String ruleAction)
The action to assign to the rule.
ruleAction - The action to assign to the rule.TrafficMirrorRuleAction,
TrafficMirrorRuleActionModifyTrafficMirrorFilterRuleRequest.Builder ruleAction(TrafficMirrorRuleAction ruleAction)
The action to assign to the rule.
ruleAction - The action to assign to the rule.TrafficMirrorRuleAction,
TrafficMirrorRuleActionModifyTrafficMirrorFilterRuleRequest.Builder destinationPortRange(TrafficMirrorPortRangeRequest destinationPortRange)
The destination ports that are associated with the Traffic Mirror rule.
destinationPortRange - The destination ports that are associated with the Traffic Mirror rule.default ModifyTrafficMirrorFilterRuleRequest.Builder destinationPortRange(Consumer<TrafficMirrorPortRangeRequest.Builder> destinationPortRange)
The destination ports that are associated with the Traffic Mirror rule.
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)ModifyTrafficMirrorFilterRuleRequest.Builder sourcePortRange(TrafficMirrorPortRangeRequest sourcePortRange)
The port range to assign to the Traffic Mirror rule.
sourcePortRange - The port range to assign to the Traffic Mirror rule.default ModifyTrafficMirrorFilterRuleRequest.Builder sourcePortRange(Consumer<TrafficMirrorPortRangeRequest.Builder> sourcePortRange)
The port range to assign to the Traffic Mirror rule.
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)ModifyTrafficMirrorFilterRuleRequest.Builder protocol(Integer protocol)
The protocol, for example TCP, to assign to the Traffic Mirror rule.
protocol - The protocol, for example TCP, to assign to the Traffic Mirror rule.ModifyTrafficMirrorFilterRuleRequest.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.ModifyTrafficMirrorFilterRuleRequest.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.ModifyTrafficMirrorFilterRuleRequest.Builder description(String description)
The description to assign to the Traffic Mirror rule.
description - The description to assign to the Traffic Mirror rule.ModifyTrafficMirrorFilterRuleRequest.Builder removeFieldsWithStrings(Collection<String> removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
removeFields - The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
ModifyTrafficMirrorFilterRuleRequest.Builder removeFieldsWithStrings(String... removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
removeFields - The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
ModifyTrafficMirrorFilterRuleRequest.Builder removeFields(Collection<TrafficMirrorFilterRuleField> removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
removeFields - The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
ModifyTrafficMirrorFilterRuleRequest.Builder removeFields(TrafficMirrorFilterRuleField... removeFields)
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
removeFields - The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
ModifyTrafficMirrorFilterRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyTrafficMirrorFilterRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.