Interface TrafficMirrorFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficMirrorFilter.Builder,,TrafficMirrorFilter> SdkBuilder<TrafficMirrorFilter.Builder,,TrafficMirrorFilter> SdkPojo
- Enclosing class:
- TrafficMirrorFilter
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the Traffic Mirror filter.egressFilterRules(Collection<TrafficMirrorFilterRule> egressFilterRules) Information about the egress rules that are associated with the Traffic Mirror filter.egressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... egressFilterRules) Information about the egress rules that are associated with the Traffic Mirror filter.egressFilterRules(TrafficMirrorFilterRule... egressFilterRules) Information about the egress rules that are associated with the Traffic Mirror filter.ingressFilterRules(Collection<TrafficMirrorFilterRule> ingressFilterRules) Information about the ingress rules that are associated with the Traffic Mirror filter.ingressFilterRules(Consumer<TrafficMirrorFilterRule.Builder>... ingressFilterRules) Information about the ingress rules that are associated with the Traffic Mirror filter.ingressFilterRules(TrafficMirrorFilterRule... ingressFilterRules) Information about the ingress rules that are associated with the Traffic Mirror filter.networkServices(Collection<TrafficMirrorNetworkService> networkServices) The network service traffic that is associated with the Traffic Mirror filter.networkServices(TrafficMirrorNetworkService... networkServices) The network service traffic that is associated with the Traffic Mirror filter.networkServicesWithStrings(String... networkServices) The network service traffic that is associated with the Traffic Mirror filter.networkServicesWithStrings(Collection<String> networkServices) The network service traffic that is associated with the Traffic Mirror filter.tags(Collection<Tag> tags) The tags assigned to the Traffic Mirror filter.tags(Consumer<Tag.Builder>... tags) The tags assigned to the Traffic Mirror filter.The tags assigned to the Traffic Mirror filter.trafficMirrorFilterId(String trafficMirrorFilterId) The ID of the Traffic Mirror filter.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
-
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
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 toingressFilterRules(List<TrafficMirrorFilterRule>).- 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:
-
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
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 toegressFilterRules(List<TrafficMirrorFilterRule>).- 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:
-
networkServicesWithStrings
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
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
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
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
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
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
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 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:
-