Class FirewallPacketCaptureParametersFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.FirewallPacketCaptureParametersFormat

public final class FirewallPacketCaptureParametersFormat extends Object
Packet capture parameters on azure firewall.
  • Constructor Details

    • FirewallPacketCaptureParametersFormat

      public FirewallPacketCaptureParametersFormat()
      Creates an instance of FirewallPacketCaptureParametersFormat class.
  • Method Details

    • durationInSeconds

      public Integer durationInSeconds()
      Get the durationInSeconds property: Duration of packet capture in seconds.
      Returns:
      the durationInSeconds value.
    • withDurationInSeconds

      public FirewallPacketCaptureParametersFormat withDurationInSeconds(Integer durationInSeconds)
      Set the durationInSeconds property: Duration of packet capture in seconds.
      Parameters:
      durationInSeconds - the durationInSeconds value to set.
      Returns:
      the FirewallPacketCaptureParametersFormat object itself.
    • numberOfPacketsToCapture

      public Integer numberOfPacketsToCapture()
      Get the numberOfPacketsToCapture property: Number of packets to be captured.
      Returns:
      the numberOfPacketsToCapture value.
    • withNumberOfPacketsToCapture

      public FirewallPacketCaptureParametersFormat withNumberOfPacketsToCapture(Integer numberOfPacketsToCapture)
      Set the numberOfPacketsToCapture property: Number of packets to be captured.
      Parameters:
      numberOfPacketsToCapture - the numberOfPacketsToCapture value to set.
      Returns:
      the FirewallPacketCaptureParametersFormat object itself.
    • sasUrl

      public String sasUrl()
      Get the sasUrl property: Upload capture location.
      Returns:
      the sasUrl value.
    • withSasUrl

      public FirewallPacketCaptureParametersFormat withSasUrl(String sasUrl)
      Set the sasUrl property: Upload capture location.
      Parameters:
      sasUrl - the sasUrl value to set.
      Returns:
      the FirewallPacketCaptureParametersFormat object itself.
    • fileName

      public String fileName()
      Get the fileName property: Name of file to be uploaded to sasURL.
      Returns:
      the fileName value.
    • withFileName

      public FirewallPacketCaptureParametersFormat withFileName(String fileName)
      Set the fileName property: Name of file to be uploaded to sasURL.
      Parameters:
      fileName - the fileName value to set.
      Returns:
      the FirewallPacketCaptureParametersFormat object itself.
    • protocol

      Get the protocol property: The protocol of packets to capture.
      Returns:
      the protocol value.
    • withProtocol

      Set the protocol property: The protocol of packets to capture.
      Parameters:
      protocol - the protocol value to set.
      Returns:
      the FirewallPacketCaptureParametersFormat object itself.
    • flags

      Get the flags property: The tcp-flag type to be captured. Used with protocol TCP.
      Returns:
      the flags value.
    • withFlags

      Set the flags property: The tcp-flag type to be captured. Used with protocol TCP.
      Parameters:
      flags - the flags value to set.
      Returns:
      the FirewallPacketCaptureParametersFormat object itself.
    • filters

      Get the filters property: Rules to filter packet captures.
      Returns:
      the filters value.
    • withFilters

      Set the filters property: Rules to filter packet captures.
      Parameters:
      filters - the filters value to set.
      Returns:
      the FirewallPacketCaptureParametersFormat object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.