Interface TrafficMirrorFilterRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficMirrorFilterRule.Builder,TrafficMirrorFilterRule>,SdkBuilder<TrafficMirrorFilterRule.Builder,TrafficMirrorFilterRule>,SdkPojo
- Enclosing class:
- TrafficMirrorFilterRule
public static interface TrafficMirrorFilterRule.Builder extends SdkPojo, CopyableBuilder<TrafficMirrorFilterRule.Builder,TrafficMirrorFilterRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TrafficMirrorFilterRule.Builderdescription(String description)The description of the Traffic Mirror rule.TrafficMirrorFilterRule.BuilderdestinationCidrBlock(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.TrafficMirrorFilterRule.BuilderdestinationPortRange(TrafficMirrorPortRange destinationPortRange)The destination port range assigned to the Traffic Mirror rule.TrafficMirrorFilterRule.Builderprotocol(Integer protocol)The protocol assigned to the Traffic Mirror rule.TrafficMirrorFilterRule.BuilderruleAction(String ruleAction)The action assigned to the Traffic Mirror rule.TrafficMirrorFilterRule.BuilderruleAction(TrafficMirrorRuleAction ruleAction)The action assigned to the Traffic Mirror rule.TrafficMirrorFilterRule.BuilderruleNumber(Integer ruleNumber)The rule number of the Traffic Mirror rule.TrafficMirrorFilterRule.BuildersourceCidrBlock(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.TrafficMirrorFilterRule.BuildersourcePortRange(TrafficMirrorPortRange sourcePortRange)The source port range assigned to the Traffic Mirror rule.TrafficMirrorFilterRule.Buildertags(Collection<Tag> tags)Tags on Traffic Mirroring filter rules.TrafficMirrorFilterRule.Buildertags(Consumer<Tag.Builder>... tags)Tags on Traffic Mirroring filter rules.TrafficMirrorFilterRule.Buildertags(Tag... tags)Tags on Traffic Mirroring filter rules.TrafficMirrorFilterRule.BuildertrafficDirection(String trafficDirection)The traffic direction assigned to the Traffic Mirror rule.TrafficMirrorFilterRule.BuildertrafficDirection(TrafficDirection trafficDirection)The traffic direction assigned to the Traffic Mirror rule.TrafficMirrorFilterRule.BuildertrafficMirrorFilterId(String trafficMirrorFilterId)The ID of the Traffic Mirror filter that the rule is associated with.TrafficMirrorFilterRule.BuildertrafficMirrorFilterRuleId(String trafficMirrorFilterRuleId)The ID of the Traffic Mirror rule.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
trafficMirrorFilterRuleId
TrafficMirrorFilterRule.Builder trafficMirrorFilterRuleId(String 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
TrafficMirrorFilterRule.Builder trafficMirrorFilterId(String 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
TrafficMirrorFilterRule.Builder trafficDirection(String 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,TrafficDirection
-
trafficDirection
TrafficMirrorFilterRule.Builder trafficDirection(TrafficDirection 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,TrafficDirection
-
ruleNumber
TrafficMirrorFilterRule.Builder ruleNumber(Integer 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
TrafficMirrorFilterRule.Builder ruleAction(String 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:
TrafficMirrorRuleAction,TrafficMirrorRuleAction
-
ruleAction
TrafficMirrorFilterRule.Builder ruleAction(TrafficMirrorRuleAction 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:
TrafficMirrorRuleAction,TrafficMirrorRuleAction
-
protocol
TrafficMirrorFilterRule.Builder protocol(Integer 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
TrafficMirrorFilterRule.Builder destinationPortRange(TrafficMirrorPortRange 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:
destinationPortRange(TrafficMirrorPortRange)
-
sourcePortRange
TrafficMirrorFilterRule.Builder sourcePortRange(TrafficMirrorPortRange 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:
sourcePortRange(TrafficMirrorPortRange)
-
destinationCidrBlock
TrafficMirrorFilterRule.Builder destinationCidrBlock(String 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
TrafficMirrorFilterRule.Builder sourceCidrBlock(String 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
TrafficMirrorFilterRule.Builder description(String 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
TrafficMirrorFilterRule.Builder tags(Collection<Tag> 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
TrafficMirrorFilterRule.Builder tags(Tag... 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
TrafficMirrorFilterRule.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
-