PacketCaptureParameters Class

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

public class PacketCaptureParameters

Parameters that define the create packet capture operation.

Method Summary

Modifier and Type Method and Description
Integer bytesToCapturePerPacket()

Get the bytesToCapturePerPacket value.

List<PacketCaptureFilter> filters()

Get the filters value.

PacketCaptureStorageLocation storageLocation()

Get the storageLocation value.

String target()

Get the target value.

Integer timeLimitInSeconds()

Get the timeLimitInSeconds value.

Integer totalBytesPerSession()

Get the totalBytesPerSession value.

PacketCaptureParameters withBytesToCapturePerPacket(Integer bytesToCapturePerPacket)

Set the bytesToCapturePerPacket value.

PacketCaptureParameters withFilters(List<PacketCaptureFilter> filters)

Set the filters value.

PacketCaptureParameters withStorageLocation(PacketCaptureStorageLocation storageLocation)

Set the storageLocation value.

PacketCaptureParameters withTarget(String target)

Set the target value.

PacketCaptureParameters withTimeLimitInSeconds(Integer timeLimitInSeconds)

Set the timeLimitInSeconds value.

PacketCaptureParameters withTotalBytesPerSession(Integer totalBytesPerSession)

Set the totalBytesPerSession value.

Method Details

bytesToCapturePerPacket

public Integer bytesToCapturePerPacket()

Get the bytesToCapturePerPacket value.

Returns:

the bytesToCapturePerPacket value

filters

public List filters()

Get the filters value.

Returns:

the filters value

storageLocation

public PacketCaptureStorageLocation storageLocation()

Get the storageLocation value.

Returns:

the storageLocation value

target

public String target()

Get the target value.

Returns:

the target value

timeLimitInSeconds

public Integer timeLimitInSeconds()

Get the timeLimitInSeconds value.

Returns:

the timeLimitInSeconds value

totalBytesPerSession

public Integer totalBytesPerSession()

Get the totalBytesPerSession value.

Returns:

the totalBytesPerSession value

withBytesToCapturePerPacket

public PacketCaptureParameters withBytesToCapturePerPacket(Integer bytesToCapturePerPacket)

Set the bytesToCapturePerPacket value.

Parameters:

bytesToCapturePerPacket - the bytesToCapturePerPacket value to set

Returns:

the PacketCaptureParameters object itself.

withFilters

public PacketCaptureParameters withFilters(List filters)

Set the filters value.

Parameters:

filters - the filters value to set

Returns:

the PacketCaptureParameters object itself.

withStorageLocation

public PacketCaptureParameters withStorageLocation(PacketCaptureStorageLocation storageLocation)

Set the storageLocation value.

Parameters:

storageLocation - the storageLocation value to set

Returns:

the PacketCaptureParameters object itself.

withTarget

public PacketCaptureParameters withTarget(String target)

Set the target value.

Parameters:

target - the target value to set

Returns:

the PacketCaptureParameters object itself.

withTimeLimitInSeconds

public PacketCaptureParameters withTimeLimitInSeconds(Integer timeLimitInSeconds)

Set the timeLimitInSeconds value.

Parameters:

timeLimitInSeconds - the timeLimitInSeconds value to set

Returns:

the PacketCaptureParameters object itself.

withTotalBytesPerSession

public PacketCaptureParameters withTotalBytesPerSession(Integer totalBytesPerSession)

Set the totalBytesPerSession value.

Parameters:

totalBytesPerSession - the totalBytesPerSession value to set

Returns:

the PacketCaptureParameters object itself.

Applies to