次の方法で共有


NspLoggingConfigurationInner Class

public final class NspLoggingConfigurationInner
extends SecurityPerimeterProxyResource

The NSP logging configuration.

Constructor Summary

Constructor Description
NspLoggingConfigurationInner()

Creates an instance of NspLoggingConfigurationInner class.

Method Summary

Modifier and Type Method and Description
List<String> enabledLogCategories()

Get the enabledLogCategories property: The log categories to enable in the NSP logging configuration.

static NspLoggingConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of NspLoggingConfigurationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SecurityPerimeterSystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String version()

Get the version property: The version of the NSP logging configuration.

NspLoggingConfigurationInner withEnabledLogCategories(List<String> enabledLogCategories)

Set the enabledLogCategories property: The log categories to enable in the NSP logging configuration.

NspLoggingConfigurationInner withVersion(String version)

Set the version property: The version of the NSP logging configuration.

Methods inherited from SecurityPerimeterProxyResource

Methods inherited from java.lang.Object

Constructor Details

NspLoggingConfigurationInner

public NspLoggingConfigurationInner()

Creates an instance of NspLoggingConfigurationInner class.

Method Details

enabledLogCategories

public List<String> enabledLogCategories()

Get the enabledLogCategories property: The log categories to enable in the NSP logging configuration.

Returns:

the enabledLogCategories value.

fromJson

public static NspLoggingConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of NspLoggingConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NspLoggingConfigurationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

NspLoggingConfigurationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

NspLoggingConfigurationInner.name()

Returns:

the name value.

systemData

public SecurityPerimeterSystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Overrides:

NspLoggingConfigurationInner.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NspLoggingConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

NspLoggingConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

NspLoggingConfigurationInner.validate()

version

public String version()

Get the version property: The version of the NSP logging configuration.

Returns:

the version value.

withEnabledLogCategories

public NspLoggingConfigurationInner withEnabledLogCategories(List<String> enabledLogCategories)

Set the enabledLogCategories property: The log categories to enable in the NSP logging configuration.

Parameters:

enabledLogCategories - the enabledLogCategories value to set.

Returns:

the NspLoggingConfigurationInner object itself.

withVersion

public NspLoggingConfigurationInner withVersion(String version)

Set the version property: The version of the NSP logging configuration.

Parameters:

version - the version value to set.

Returns:

the NspLoggingConfigurationInner object itself.

Applies to