SensitiveDataDiscoveryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.SensitiveDataDiscoveryProperties

Implements

public final class SensitiveDataDiscoveryProperties
implements JsonSerializable<SensitiveDataDiscoveryProperties>

Properties of Sensitive Data Discovery.

Constructor Summary

Constructor Description
SensitiveDataDiscoveryProperties()

Creates an instance of SensitiveDataDiscoveryProperties class.

Method Summary

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

Reads an instance of SensitiveDataDiscoveryProperties from the JsonReader.

Boolean isEnabled()

Get the isEnabled property: Indicates whether Sensitive Data Discovery should be enabled.

OperationStatus operationStatus()

Get the operationStatus property: Upon failure or partial success.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SensitiveDataDiscoveryProperties withIsEnabled(Boolean isEnabled)

Set the isEnabled property: Indicates whether Sensitive Data Discovery should be enabled.

Methods inherited from java.lang.Object

Constructor Details

SensitiveDataDiscoveryProperties

public SensitiveDataDiscoveryProperties()

Creates an instance of SensitiveDataDiscoveryProperties class.

Method Details

fromJson

public static SensitiveDataDiscoveryProperties fromJson(JsonReader jsonReader)

Reads an instance of SensitiveDataDiscoveryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SensitiveDataDiscoveryProperties 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 SensitiveDataDiscoveryProperties.

isEnabled

public Boolean isEnabled()

Get the isEnabled property: Indicates whether Sensitive Data Discovery should be enabled.

Returns:

the isEnabled value.

operationStatus

public OperationStatus operationStatus()

Get the operationStatus property: Upon failure or partial success. Additional data describing Sensitive Data Discovery enable/disable operation.

Returns:

the operationStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsEnabled

public SensitiveDataDiscoveryProperties withIsEnabled(Boolean isEnabled)

Set the isEnabled property: Indicates whether Sensitive Data Discovery should be enabled.

Parameters:

isEnabled - the isEnabled value to set.

Returns:

the SensitiveDataDiscoveryProperties object itself.

Applies to