Interface TrafficMirrorFilter.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>
,SdkBuilder<TrafficMirrorFilter.Builder,TrafficMirrorFilter>
,SdkPojo
- Enclosing class:
- TrafficMirrorFilter
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.Builder
description(String description)
The description of the Traffic Mirror filter.TrafficMirrorFilter.Builder
egressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
egressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
egressFilterRules(TrafficMirrorFilterRule... egressFilterRules)
Information about the egress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
ingressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
ingressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
ingressFilterRules(TrafficMirrorFilterRule... ingressFilterRules)
Information about the ingress rules that are associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
networkServices(Collection<TrafficMirrorNetworkService> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
networkServices(TrafficMirrorNetworkService... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
networkServicesWithStrings(String... networkServices)
The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
networkServicesWithStrings(Collection<String> networkServices)
The network service traffic that is associated with the Traffic Mirror filter.TrafficMirrorFilter.Builder
tags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror filter.TrafficMirrorFilter.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Traffic Mirror filter.TrafficMirrorFilter.Builder
tags(Tag... tags)
The tags assigned to the Traffic Mirror filter.TrafficMirrorFilter.Builder
trafficMirrorFilterId(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, 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.Builder
avoiding the need to create one manually viaTrafficMirrorFilterRule.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTrafficMirrorFilterRule.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
)
-
-