FirewallPolicyLogAnalyticsWorkspace Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.FirewallPolicyLogAnalyticsWorkspace

Implements

public final class FirewallPolicyLogAnalyticsWorkspace
implements JsonSerializable<FirewallPolicyLogAnalyticsWorkspace>

Log Analytics Workspace for Firewall Policy Insights.

Constructor Summary

Constructor Description
FirewallPolicyLogAnalyticsWorkspace()

Creates an instance of FirewallPolicyLogAnalyticsWorkspace class.

Method Summary

Modifier and Type Method and Description
static FirewallPolicyLogAnalyticsWorkspace fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyLogAnalyticsWorkspace from the JsonReader.

String region()

Get the region property: Region to configure the Workspace.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FirewallPolicyLogAnalyticsWorkspace withRegion(String region)

Set the region property: Region to configure the Workspace.

FirewallPolicyLogAnalyticsWorkspace withWorkspaceId(SubResource workspaceId)

Set the workspaceId property: The workspace Id for Firewall Policy Insights.

SubResource workspaceId()

Get the workspaceId property: The workspace Id for Firewall Policy Insights.

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyLogAnalyticsWorkspace

public FirewallPolicyLogAnalyticsWorkspace()

Creates an instance of FirewallPolicyLogAnalyticsWorkspace class.

Method Details

fromJson

public static FirewallPolicyLogAnalyticsWorkspace fromJson(JsonReader jsonReader)

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.

region

public String region()

Get the region property: Region to configure the Workspace.

Returns:

the region value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withWorkspaceId

public FirewallPolicyLogAnalyticsWorkspace withWorkspaceId(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.

workspaceId

public SubResource workspaceId()

Get the workspaceId property: The workspace Id for Firewall Policy Insights.

Returns:

the workspaceId value.

Applies to