DefenderCspmAwsOfferingDataSensitivityDiscovery Class

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

Implements

public final class DefenderCspmAwsOfferingDataSensitivityDiscovery
implements JsonSerializable<DefenderCspmAwsOfferingDataSensitivityDiscovery>

The Microsoft Defender Data Sensitivity discovery configuration.

Constructor Summary

Constructor Description
DefenderCspmAwsOfferingDataSensitivityDiscovery()

Creates an instance of DefenderCspmAwsOfferingDataSensitivityDiscovery class.

Method Summary

Modifier and Type Method and Description
String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Boolean enabled()

Get the enabled property: Is Microsoft Defender Data Sensitivity discovery enabled.

static DefenderCspmAwsOfferingDataSensitivityDiscovery fromJson(JsonReader jsonReader)

Reads an instance of DefenderCspmAwsOfferingDataSensitivityDiscovery from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderCspmAwsOfferingDataSensitivityDiscovery withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.

DefenderCspmAwsOfferingDataSensitivityDiscovery withEnabled(Boolean enabled)

Set the enabled property: Is Microsoft Defender Data Sensitivity discovery enabled.

Methods inherited from java.lang.Object

Constructor Details

DefenderCspmAwsOfferingDataSensitivityDiscovery

public DefenderCspmAwsOfferingDataSensitivityDiscovery()

Creates an instance of DefenderCspmAwsOfferingDataSensitivityDiscovery class.

Method Details

cloudRoleArn

public String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Returns:

the cloudRoleArn value.

enabled

public Boolean enabled()

Get the enabled property: Is Microsoft Defender Data Sensitivity discovery enabled.

Returns:

the enabled value.

fromJson

public static DefenderCspmAwsOfferingDataSensitivityDiscovery fromJson(JsonReader jsonReader)

Reads an instance of DefenderCspmAwsOfferingDataSensitivityDiscovery from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCloudRoleArn

public DefenderCspmAwsOfferingDataSensitivityDiscovery withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Parameters:

cloudRoleArn - the cloudRoleArn value to set.

Returns:

the DefenderCspmAwsOfferingDataSensitivityDiscovery object itself.

withEnabled

public DefenderCspmAwsOfferingDataSensitivityDiscovery withEnabled(Boolean enabled)

Set the enabled property: Is Microsoft Defender Data Sensitivity discovery enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the DefenderCspmAwsOfferingDataSensitivityDiscovery object itself.

Applies to