Interface TrafficMirrorFilterRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficMirrorFilterRule.Builder,,TrafficMirrorFilterRule> SdkBuilder<TrafficMirrorFilterRule.Builder,,TrafficMirrorFilterRule> SdkPojo
- Enclosing class:
- TrafficMirrorFilterRule
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the Traffic Mirror rule.destinationCidrBlock(String destinationCidrBlock) The destination CIDR block assigned to the Traffic Mirror rule.default TrafficMirrorFilterRule.BuilderdestinationPortRange(Consumer<TrafficMirrorPortRange.Builder> destinationPortRange) The destination port range assigned to the Traffic Mirror rule.destinationPortRange(TrafficMirrorPortRange destinationPortRange) The destination port range assigned to the Traffic Mirror rule.The protocol assigned to the Traffic Mirror rule.ruleAction(String ruleAction) The action assigned to the Traffic Mirror rule.ruleAction(TrafficMirrorRuleAction ruleAction) The action assigned to the Traffic Mirror rule.ruleNumber(Integer ruleNumber) The rule number of the Traffic Mirror rule.sourceCidrBlock(String sourceCidrBlock) The source CIDR block assigned to the Traffic Mirror rule.default TrafficMirrorFilterRule.BuildersourcePortRange(Consumer<TrafficMirrorPortRange.Builder> sourcePortRange) The source port range assigned to the Traffic Mirror rule.sourcePortRange(TrafficMirrorPortRange sourcePortRange) The source port range assigned to the Traffic Mirror rule.tags(Collection<Tag> tags) Tags on Traffic Mirroring filter rules.tags(Consumer<Tag.Builder>... tags) Tags on Traffic Mirroring filter rules.Tags on Traffic Mirroring filter rules.trafficDirection(String trafficDirection) The traffic direction assigned to the Traffic Mirror rule.trafficDirection(TrafficDirection trafficDirection) The traffic direction assigned to the Traffic Mirror rule.trafficMirrorFilterId(String trafficMirrorFilterId) The ID of the Traffic Mirror filter that the rule is associated with.trafficMirrorFilterRuleId(String trafficMirrorFilterRuleId) The ID of the Traffic Mirror rule.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
-
trafficMirrorFilterRuleId
The ID of the Traffic Mirror rule.
- Parameters:
trafficMirrorFilterRuleId- The ID of the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficMirrorFilterId
The ID of the Traffic Mirror filter that the rule is associated with.
- Parameters:
trafficMirrorFilterId- The ID of the Traffic Mirror filter that the rule is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficDirection
The traffic direction assigned to the Traffic Mirror rule.
- Parameters:
trafficDirection- The traffic direction assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trafficDirection
The traffic direction assigned to the Traffic Mirror rule.
- Parameters:
trafficDirection- The traffic direction assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleNumber
The rule number of the Traffic Mirror rule.
- Parameters:
ruleNumber- The rule number of the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleAction
The action assigned to the Traffic Mirror rule.
- Parameters:
ruleAction- The action assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleAction
The action assigned to the Traffic Mirror rule.
- Parameters:
ruleAction- The action assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol assigned to the Traffic Mirror rule.
- Parameters:
protocol- The protocol assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRange
The destination port range assigned to the Traffic Mirror rule.
- Parameters:
destinationPortRange- The destination port range assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRange
default TrafficMirrorFilterRule.Builder destinationPortRange(Consumer<TrafficMirrorPortRange.Builder> destinationPortRange) The destination port range assigned to the Traffic Mirror rule.
This is a convenience method that creates an instance of theTrafficMirrorPortRange.Builderavoiding the need to create one manually viaTrafficMirrorPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationPortRange(TrafficMirrorPortRange).- Parameters:
destinationPortRange- a consumer that will call methods onTrafficMirrorPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourcePortRange
The source port range assigned to the Traffic Mirror rule.
- Parameters:
sourcePortRange- The source port range assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRange
default TrafficMirrorFilterRule.Builder sourcePortRange(Consumer<TrafficMirrorPortRange.Builder> sourcePortRange) The source port range assigned to the Traffic Mirror rule.
This is a convenience method that creates an instance of theTrafficMirrorPortRange.Builderavoiding the need to create one manually viaTrafficMirrorPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourcePortRange(TrafficMirrorPortRange).- Parameters:
sourcePortRange- a consumer that will call methods onTrafficMirrorPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationCidrBlock
The destination CIDR block assigned to the Traffic Mirror rule.
- Parameters:
destinationCidrBlock- The destination CIDR block assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCidrBlock
The source CIDR block assigned to the Traffic Mirror rule.
- Parameters:
sourceCidrBlock- The source CIDR block assigned to the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the Traffic Mirror rule.
- Parameters:
description- The description of the Traffic Mirror rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags on Traffic Mirroring filter rules.
- Parameters:
tags- Tags on Traffic Mirroring filter rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags on Traffic Mirroring filter rules.
- Parameters:
tags- Tags on Traffic Mirroring filter rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags on Traffic Mirroring filter rules.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-