Class FirewallPolicyInsights
java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyInsights
Firewall Policy Insights.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FirewallPolicyInsights class. -
Method Summary
Modifier and TypeMethodDescriptionGet the isEnabled property: A flag to indicate if the insights are enabled on the policy.Get the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.Get the retentionDays property: Number of days the insights should be enabled on the policy.voidvalidate()Validates the instance.withIsEnabled(Boolean isEnabled) Set the isEnabled property: A flag to indicate if the insights are enabled on the policy.withLogAnalyticsResources(FirewallPolicyLogAnalyticsResources logAnalyticsResources) Set the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.withRetentionDays(Integer retentionDays) Set the retentionDays property: Number of days the insights should be enabled on the policy.
-
Constructor Details
-
FirewallPolicyInsights
public FirewallPolicyInsights()Creates an instance of FirewallPolicyInsights class.
-
-
Method Details
-
isEnabled
Get the isEnabled property: A flag to indicate if the insights are enabled on the policy.- Returns:
- the isEnabled value.
-
withIsEnabled
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
Get the retentionDays property: Number of days the insights should be enabled on the policy.- Returns:
- the retentionDays value.
-
withRetentionDays
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
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.
-