Class FirewallPolicyInsights

java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyInsights

public final class FirewallPolicyInsights extends Object
Firewall Policy Insights.
  • Constructor Details

    • FirewallPolicyInsights

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

    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: A flag to indicate if the insights are enabled on the policy.
      Returns:
      the isEnabled value.
    • withIsEnabled

      public FirewallPolicyInsights withIsEnabled(Boolean isEnabled)
      Set the isEnabled property: A flag to indicate if the insights are enabled on the policy.
      Parameters:
      isEnabled - the isEnabled value to set.
      Returns:
      the FirewallPolicyInsights object itself.
    • retentionDays

      public Integer retentionDays()
      Get the retentionDays property: Number of days the insights should be enabled on the policy.
      Returns:
      the retentionDays value.
    • withRetentionDays

      public FirewallPolicyInsights withRetentionDays(Integer retentionDays)
      Set the retentionDays property: Number of days the insights should be enabled on the policy.
      Parameters:
      retentionDays - the retentionDays value to set.
      Returns:
      the FirewallPolicyInsights object itself.
    • logAnalyticsResources

      public FirewallPolicyLogAnalyticsResources logAnalyticsResources()
      Get the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.
      Returns:
      the logAnalyticsResources value.
    • withLogAnalyticsResources

      public FirewallPolicyInsights withLogAnalyticsResources(FirewallPolicyLogAnalyticsResources logAnalyticsResources)
      Set the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.
      Parameters:
      logAnalyticsResources - the logAnalyticsResources value to set.
      Returns:
      the FirewallPolicyInsights object itself.
    • validate

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