Class FirewallPolicyLogAnalyticsWorkspace

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

public final class FirewallPolicyLogAnalyticsWorkspace extends Object implements com.azure.json.JsonSerializable<FirewallPolicyLogAnalyticsWorkspace>
Log Analytics Workspace for Firewall Policy Insights.
  • Constructor Details

    • FirewallPolicyLogAnalyticsWorkspace

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

    • region

      public String region()
      Get the region property: Region to configure the Workspace.
      Returns:
      the region value.
    • withRegion

      public FirewallPolicyLogAnalyticsWorkspace withRegion(String region)
      Set the region property: Region to configure the Workspace.
      Parameters:
      region - the region value to set.
      Returns:
      the FirewallPolicyLogAnalyticsWorkspace object itself.
    • workspaceId

      public com.azure.core.management.SubResource workspaceId()
      Get the workspaceId property: The workspace Id for Firewall Policy Insights.
      Returns:
      the workspaceId value.
    • withWorkspaceId

      public FirewallPolicyLogAnalyticsWorkspace withWorkspaceId(com.azure.core.management.SubResource workspaceId)
      Set the workspaceId property: The workspace Id for Firewall Policy Insights.
      Parameters:
      workspaceId - the workspaceId value to set.
      Returns:
      the FirewallPolicyLogAnalyticsWorkspace 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<FirewallPolicyLogAnalyticsWorkspace>
      Throws:
      IOException
    • fromJson

      public static FirewallPolicyLogAnalyticsWorkspace fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FirewallPolicyLogAnalyticsWorkspace from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FirewallPolicyLogAnalyticsWorkspace 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 FirewallPolicyLogAnalyticsWorkspace.