Class FirewallPolicyLogAnalyticsResources
java.lang.Object
com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsResources
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FirewallPolicyLogAnalyticsResources>
public final class FirewallPolicyLogAnalyticsResources
extends Object
implements com.azure.json.JsonSerializable<FirewallPolicyLogAnalyticsResources>
Log Analytics Resources for Firewall Policy Insights.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FirewallPolicyLogAnalyticsResources class. -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SubResourceGet the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FirewallPolicyLogAnalyticsResources from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDefaultWorkspaceId(com.azure.core.management.SubResource defaultWorkspaceId) Set the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.withWorkspaces(List<FirewallPolicyLogAnalyticsWorkspace> workspaces) Set the workspaces property: List of workspaces for Firewall Policy Insights.Get the workspaces property: List of workspaces for Firewall Policy Insights.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FirewallPolicyLogAnalyticsResources
public FirewallPolicyLogAnalyticsResources()Creates an instance of FirewallPolicyLogAnalyticsResources class.
-
-
Method Details
-
workspaces
Get the workspaces property: List of workspaces for Firewall Policy Insights.- Returns:
- the workspaces value.
-
withWorkspaces
public FirewallPolicyLogAnalyticsResources withWorkspaces(List<FirewallPolicyLogAnalyticsWorkspace> workspaces) Set the workspaces property: List of workspaces for Firewall Policy Insights.- Parameters:
workspaces- the workspaces value to set.- Returns:
- the FirewallPolicyLogAnalyticsResources object itself.
-
defaultWorkspaceId
public com.azure.core.management.SubResource defaultWorkspaceId()Get the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.- Returns:
- the defaultWorkspaceId value.
-
withDefaultWorkspaceId
public FirewallPolicyLogAnalyticsResources withDefaultWorkspaceId(com.azure.core.management.SubResource defaultWorkspaceId) Set the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.- Parameters:
defaultWorkspaceId- the defaultWorkspaceId value to set.- Returns:
- the FirewallPolicyLogAnalyticsResources object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FirewallPolicyLogAnalyticsResources>- Throws:
IOException
-
fromJson
public static FirewallPolicyLogAnalyticsResources fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FirewallPolicyLogAnalyticsResources from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FirewallPolicyLogAnalyticsResources 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 FirewallPolicyLogAnalyticsResources.
-