Interface PacketCapture.DefinitionStages.WithCreate

All Superinterfaces:
Creatable<PacketCapture>, HasName, Indexable
All Known Subinterfaces:
PacketCapture.Definition, PacketCapture.DefinitionStages.WithCreateAndStoragePath
Enclosing interface:
PacketCapture.DefinitionStages

public static interface PacketCapture.DefinitionStages.WithCreate extends Creatable<PacketCapture>
The stage of the Packet Capture definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified.
  • Method Details

    • withBytesToCapturePerPacket

      PacketCapture.DefinitionStages.WithCreate withBytesToCapturePerPacket(long bytesToCapturePerPacket)
      Set number of bytes captured per packet, the remaining bytes are truncated.
      Parameters:
      bytesToCapturePerPacket - Number of bytes captured per packet
      Returns:
      the next stage
    • withTotalBytesPerSession

      PacketCapture.DefinitionStages.WithCreate withTotalBytesPerSession(long totalBytesPerSession)
      Set maximum size of the capture output.
      Parameters:
      totalBytesPerSession - Maximum size of the capture output
      Returns:
      the next stage
    • withTimeLimitInSeconds

      PacketCapture.DefinitionStages.WithCreate withTimeLimitInSeconds(int timeLimitInSeconds)
      Set maximum duration of the capture session in seconds.
      Parameters:
      timeLimitInSeconds - Maximum duration of the capture session in seconds
      Returns:
      the next stage
    • definePacketCaptureFilter

      Begin the definition of packet capture filter.
      Returns:
      the next stage