Class FirewallPolicyInsights
- java.lang.Object
-
- com.azure.resourcemanager.network.models.FirewallPolicyInsights
-
public final class FirewallPolicyInsights extends Object
Firewall Policy Insights.
-
-
Constructor Summary
Constructors Constructor Description FirewallPolicyInsights()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanisEnabled()Get the isEnabled property: A flag to indicate if the insights are enabled on the policy.FirewallPolicyLogAnalyticsResourceslogAnalyticsResources()Get the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.IntegerretentionDays()Get the retentionDays property: Number of days the insights should be enabled on the policy.voidvalidate()Validates the instance.FirewallPolicyInsightswithIsEnabled(Boolean isEnabled)Set the isEnabled property: A flag to indicate if the insights are enabled on the policy.FirewallPolicyInsightswithLogAnalyticsResources(FirewallPolicyLogAnalyticsResources logAnalyticsResources)Set the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.FirewallPolicyInsightswithRetentionDays(Integer retentionDays)Set the retentionDays property: Number of days the insights should be enabled on the policy.
-
-
-
Method Detail
-
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.
-
-