Class AzureFirewallPacketCaptureResponseInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.AzureFirewallPacketCaptureResponseInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<AzureFirewallPacketCaptureResponseInner>

public final class AzureFirewallPacketCaptureResponseInner extends Object implements com.azure.json.JsonSerializable<AzureFirewallPacketCaptureResponseInner>
Response of an Azure Firewall Packet Capture Operation.
  • Constructor Details

    • AzureFirewallPacketCaptureResponseInner

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

    • statusCode

      Get the statusCode property: The response code of the performed packet capture operation.
      Returns:
      the statusCode value.
    • withStatusCode

      Set the statusCode property: The response code of the performed packet capture operation.
      Parameters:
      statusCode - the statusCode value to set.
      Returns:
      the AzureFirewallPacketCaptureResponseInner object itself.
    • message

      public String message()
      Get the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation.
      Returns:
      the message value.
    • withMessage

      public AzureFirewallPacketCaptureResponseInner withMessage(String message)
      Set the message property: Localized Message String of The Result Of The Azure Firewall Packet Capture Operation.
      Parameters:
      message - the message value to set.
      Returns:
      the AzureFirewallPacketCaptureResponseInner object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<AzureFirewallPacketCaptureResponseInner>
      Throws:
      IOException
    • fromJson

      public static AzureFirewallPacketCaptureResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AzureFirewallPacketCaptureResponseInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AzureFirewallPacketCaptureResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the AzureFirewallPacketCaptureResponseInner.