Class PacketCaptureFilter
- java.lang.Object
-
- com.microsoft.azure.management.network.PacketCaptureFilter
-
public class PacketCaptureFilter extends Object
Filter that is applied to packet capture request. Multiple filters can be applied.
-
-
Constructor Summary
Constructors Constructor Description PacketCaptureFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlocalIPAddress()Get the localIPAddress value.StringlocalPort()Get the localPort value.PcProtocolprotocol()Get the protocol value.StringremoteIPAddress()Get the remoteIPAddress value.StringremotePort()Get the remotePort value.PacketCaptureFilterwithLocalIPAddress(String localIPAddress)Set the localIPAddress value.PacketCaptureFilterwithLocalPort(String localPort)Set the localPort value.PacketCaptureFilterwithProtocol(PcProtocol protocol)Set the protocol value.PacketCaptureFilterwithRemoteIPAddress(String remoteIPAddress)Set the remoteIPAddress value.PacketCaptureFilterwithRemotePort(String remotePort)Set the remotePort value.
-
-
-
Method Detail
-
protocol
public PcProtocol protocol()
Get the protocol value.- Returns:
- the protocol value
-
withProtocol
public PacketCaptureFilter withProtocol(PcProtocol protocol)
Set the protocol value.- Parameters:
protocol- the protocol value to set- Returns:
- the PacketCaptureFilter object itself.
-
localIPAddress
public String localIPAddress()
Get the localIPAddress value.- Returns:
- the localIPAddress value
-
withLocalIPAddress
public PacketCaptureFilter withLocalIPAddress(String localIPAddress)
Set the localIPAddress value.- Parameters:
localIPAddress- the localIPAddress value to set- Returns:
- the PacketCaptureFilter object itself.
-
remoteIPAddress
public String remoteIPAddress()
Get the remoteIPAddress value.- Returns:
- the remoteIPAddress value
-
withRemoteIPAddress
public PacketCaptureFilter withRemoteIPAddress(String remoteIPAddress)
Set the remoteIPAddress value.- Parameters:
remoteIPAddress- the remoteIPAddress value to set- Returns:
- the PacketCaptureFilter object itself.
-
localPort
public String localPort()
Get the localPort value.- Returns:
- the localPort value
-
withLocalPort
public PacketCaptureFilter withLocalPort(String localPort)
Set the localPort value.- Parameters:
localPort- the localPort value to set- Returns:
- the PacketCaptureFilter object itself.
-
remotePort
public String remotePort()
Get the remotePort value.- Returns:
- the remotePort value
-
withRemotePort
public PacketCaptureFilter withRemotePort(String remotePort)
Set the remotePort value.- Parameters:
remotePort- the remotePort value to set- Returns:
- the PacketCaptureFilter object itself.
-
-