PacketCaptureFilter Class
- java.
lang. Object - com.
microsoft. azure. management. network. PacketCaptureFilter
- com.
public class PacketCaptureFilter
Filter that is applied to packet capture request. Multiple filters can be applied.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
localIPAddress()
Get the localIPAddress value. |
String |
localPort()
Get the localPort value. |
Pc |
protocol()
Get the protocol value. |
String |
remoteIPAddress()
Get the remoteIPAddress value. |
String |
remotePort()
Get the remotePort value. |
Packet |
withLocalIPAddress(String localIPAddress)
Set the localIPAddress value. |
Packet |
withLocalPort(String localPort)
Set the localPort value. |
Packet |
withProtocol(PcProtocol protocol)
Set the protocol value. |
Packet |
withRemoteIPAddress(String remoteIPAddress)
Set the remoteIPAddress value. |
Packet |
withRemotePort(String remotePort)
Set the remotePort value. |
Method Details
localIPAddress
public String localIPAddress()
Get the localIPAddress value.
Returns:
localPort
public String localPort()
Get the localPort value.
Returns:
protocol
public PcProtocol protocol()
Get the protocol value.
Returns:
remoteIPAddress
public String remoteIPAddress()
Get the remoteIPAddress value.
Returns:
remotePort
public String remotePort()
Get the remotePort value.
Returns:
withLocalIPAddress
public PacketCaptureFilter withLocalIPAddress(String localIPAddress)
Set the localIPAddress value.
Parameters:
Returns:
withLocalPort
public PacketCaptureFilter withLocalPort(String localPort)
Set the localPort value.
Parameters:
Returns:
withProtocol
public PacketCaptureFilter withProtocol(PcProtocol protocol)
Set the protocol value.
Parameters:
Returns:
withRemoteIPAddress
public PacketCaptureFilter withRemoteIPAddress(String remoteIPAddress)
Set the remoteIPAddress value.
Parameters:
Returns:
withRemotePort
public PacketCaptureFilter withRemotePort(String remotePort)
Set the remotePort value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for