PacketCaptureFilter Class

  • java.lang.Object
    • com.microsoft.azure.management.network.PacketCaptureFilter

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.

PcProtocol protocol()

Get the protocol value.

String remoteIPAddress()

Get the remoteIPAddress value.

String remotePort()

Get the remotePort value.

PacketCaptureFilter withLocalIPAddress(String localIPAddress)

Set the localIPAddress value.

PacketCaptureFilter withLocalPort(String localPort)

Set the localPort value.

PacketCaptureFilter withProtocol(PcProtocol protocol)

Set the protocol value.

PacketCaptureFilter withRemoteIPAddress(String remoteIPAddress)

Set the remoteIPAddress value.

PacketCaptureFilter withRemotePort(String remotePort)

Set the remotePort value.

Method Details

localIPAddress

public String localIPAddress()

Get the localIPAddress value.

Returns:

the localIPAddress value

localPort

public String localPort()

Get the localPort value.

Returns:

the localPort value

protocol

public PcProtocol protocol()

Get the protocol value.

Returns:

the protocol value

remoteIPAddress

public String remoteIPAddress()

Get the remoteIPAddress value.

Returns:

the remoteIPAddress value

remotePort

public String remotePort()

Get the remotePort value.

Returns:

the remotePort value

withLocalIPAddress

public PacketCaptureFilter withLocalIPAddress(String localIPAddress)

Set the localIPAddress value.

Parameters:

localIPAddress - the localIPAddress value to set

Returns:

the PacketCaptureFilter object itself.

withLocalPort

public PacketCaptureFilter withLocalPort(String localPort)

Set the localPort value.

Parameters:

localPort - the localPort value to set

Returns:

the PacketCaptureFilter object itself.

withProtocol

public PacketCaptureFilter withProtocol(PcProtocol protocol)

Set the protocol value.

Parameters:

protocol - the protocol value to set

Returns:

the PacketCaptureFilter object itself.

withRemoteIPAddress

public PacketCaptureFilter withRemoteIPAddress(String remoteIPAddress)

Set the remoteIPAddress value.

Parameters:

remoteIPAddress - the remoteIPAddress value to set

Returns:

the PacketCaptureFilter object itself.

withRemotePort

public PacketCaptureFilter withRemotePort(String remotePort)

Set the remotePort value.

Parameters:

remotePort - the remotePort value to set

Returns:

the PacketCaptureFilter object itself.

Applies to