Interface TrafficMirrorFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>,SdkBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>,SdkPojo
- Enclosing class:
- TrafficMirrorFilter
@Mutable @NotThreadSafe public static interface TrafficMirrorFilter.Builder extends SdkPojo, CopyableBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrafficMirrorFilter.Builderdescription(String description)The description of the Traffic Mirror filter.TrafficMirrorFilter.BuilderegressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules)Information about the egress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.BuilderegressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... egressFilterRules)Information about the egress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.BuilderegressFilterRules(TrafficMirrorFilterRule... egressFilterRules)Information about the egress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.BuilderingressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules)Information about the ingress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.BuilderingressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... ingressFilterRules)Information about the ingress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.BuilderingressFilterRules(TrafficMirrorFilterRule... ingressFilterRules)Information about the ingress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.BuildernetworkServices(Collection<TrafficMirrorNetworkService> networkServices)The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.BuildernetworkServices(TrafficMirrorNetworkService... networkServices)The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.BuildernetworkServicesWithStrings(String... networkServices)The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.BuildernetworkServicesWithStrings(Collection<String> networkServices)The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.Buildertags(Collection<Tag> tags)The tags assigned to the Traffic Mirror filter.TrafficMirrorFilter.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the Traffic Mirror filter.TrafficMirrorFilter.Buildertags(Tag... tags)The tags assigned to the Traffic Mirror filter.TrafficMirrorFilter.BuildertrafficMirrorFilterId(String trafficMirrorFilterId)The ID of the Traffic Mirror filter.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
trafficMirrorFilterId
TrafficMirrorFilter.Builder trafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter.
- Parameters:
trafficMirrorFilterId- The ID of the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressFilterRules
TrafficMirrorFilter.Builder ingressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
- Parameters:
ingressFilterRules- Information about the ingress rules that are associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressFilterRules
TrafficMirrorFilter.Builder ingressFilterRules(TrafficMirrorFilterRule... ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
- Parameters:
ingressFilterRules- Information about the ingress rules that are associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingressFilterRules
TrafficMirrorFilter.Builder ingressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.
This is a convenience method that creates an instance of theTrafficMirrorFilterRule.Builderavoiding the need to create one manually viaTrafficMirrorFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ingressFilterRules(List.) - Parameters:
ingressFilterRules- a consumer that will call methods onTrafficMirrorFilterRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ingressFilterRules(java.util.Collection)
-
egressFilterRules
TrafficMirrorFilter.Builder egressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
- Parameters:
egressFilterRules- Information about the egress rules that are associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressFilterRules
TrafficMirrorFilter.Builder egressFilterRules(TrafficMirrorFilterRule... egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
- Parameters:
egressFilterRules- Information about the egress rules that are associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressFilterRules
TrafficMirrorFilter.Builder egressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.
This is a convenience method that creates an instance of theTrafficMirrorFilterRule.Builderavoiding the need to create one manually viaTrafficMirrorFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#egressFilterRules(List.) - Parameters:
egressFilterRules- a consumer that will call methods onTrafficMirrorFilterRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#egressFilterRules(java.util.Collection)
-
networkServicesWithStrings
TrafficMirrorFilter.Builder networkServicesWithStrings(Collection<String> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
- Parameters:
networkServices- The network service traffic that is associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkServicesWithStrings
TrafficMirrorFilter.Builder networkServicesWithStrings(String... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
- Parameters:
networkServices- The network service traffic that is associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkServices
TrafficMirrorFilter.Builder networkServices(Collection<TrafficMirrorNetworkService> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
- Parameters:
networkServices- The network service traffic that is associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkServices
TrafficMirrorFilter.Builder networkServices(TrafficMirrorNetworkService... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.
- Parameters:
networkServices- The network service traffic that is associated with the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
TrafficMirrorFilter.Builder description(String description)
The description of the Traffic Mirror filter.
- Parameters:
description- The description of the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TrafficMirrorFilter.Builder tags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror filter.
- Parameters:
tags- The tags assigned to the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TrafficMirrorFilter.Builder tags(Tag... tags)
The tags assigned to the Traffic Mirror filter.
- Parameters:
tags- The tags assigned to the Traffic Mirror filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TrafficMirrorFilter.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Traffic Mirror filter.
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)
-
-