public final class PacketCaptureFilter extends Object
| Constructor and Description |
|---|
PacketCaptureFilter() |
| Modifier and Type | Method and Description |
|---|---|
String |
localIpAddress()
Get the localIpAddress property: Local IP Address to be filtered on.
|
String |
localPort()
Get the localPort property: Local port to be filtered on.
|
PcProtocol |
protocol()
Get the protocol property: Protocol to be filtered on.
|
String |
remoteIpAddress()
Get the remoteIpAddress property: Local IP Address to be filtered on.
|
String |
remotePort()
Get the remotePort property: Remote port to be filtered on.
|
void |
validate()
Validates the instance.
|
PacketCaptureFilter |
withLocalIpAddress(String localIpAddress)
Set the localIpAddress property: Local IP Address to be filtered on.
|
PacketCaptureFilter |
withLocalPort(String localPort)
Set the localPort property: Local port to be filtered on.
|
PacketCaptureFilter |
withProtocol(PcProtocol protocol)
Set the protocol property: Protocol to be filtered on.
|
PacketCaptureFilter |
withRemoteIpAddress(String remoteIpAddress)
Set the remoteIpAddress property: Local IP Address to be filtered on.
|
PacketCaptureFilter |
withRemotePort(String remotePort)
Set the remotePort property: Remote port to be filtered on.
|
public PcProtocol protocol()
public PacketCaptureFilter withProtocol(PcProtocol protocol)
protocol - the protocol value to set.public String localIpAddress()
public PacketCaptureFilter withLocalIpAddress(String localIpAddress)
localIpAddress - the localIpAddress value to set.public String remoteIpAddress()
public PacketCaptureFilter withRemoteIpAddress(String remoteIpAddress)
remoteIpAddress - the remoteIpAddress value to set.public String localPort()
public PacketCaptureFilter withLocalPort(String localPort)
localPort - the localPort value to set.public String remotePort()
public PacketCaptureFilter withRemotePort(String remotePort)
remotePort - the remotePort value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.