public static class VtapCaptureFilterRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public VtapCaptureFilterRuleDetails.Builder trafficDirection(VtapCaptureFilterRuleDetails.TrafficDirection trafficDirection)
The traffic direction the VTAP is configured to mirror.
trafficDirection
- the value to setpublic VtapCaptureFilterRuleDetails.Builder ruleAction(VtapCaptureFilterRuleDetails.RuleAction ruleAction)
Include or exclude packets meeting this definition from mirrored traffic.
ruleAction
- the value to setpublic VtapCaptureFilterRuleDetails.Builder sourceCidr(String sourceCidr)
Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
sourceCidr
- the value to setpublic VtapCaptureFilterRuleDetails.Builder destinationCidr(String destinationCidr)
Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
destinationCidr
- the value to setpublic VtapCaptureFilterRuleDetails.Builder protocol(String protocol)
The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are: * 1 = ICMP * 6 = TCP * 17 = UDP
protocol
- the value to setpublic VtapCaptureFilterRuleDetails.Builder icmpOptions(IcmpOptions icmpOptions)
public VtapCaptureFilterRuleDetails.Builder tcpOptions(TcpOptions tcpOptions)
public VtapCaptureFilterRuleDetails.Builder udpOptions(UdpOptions udpOptions)
public VtapCaptureFilterRuleDetails build()
public VtapCaptureFilterRuleDetails.Builder copy(VtapCaptureFilterRuleDetails model)
Copyright © 2016–2024. All rights reserved.