DefenderCspmGcpOfferingDataSensitivityDiscovery Class

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

Implements

public final class DefenderCspmGcpOfferingDataSensitivityDiscovery
implements JsonSerializable<DefenderCspmGcpOfferingDataSensitivityDiscovery>

The Microsoft Defender Data Sensitivity discovery configuration.

Constructor Summary

Constructor Description
DefenderCspmGcpOfferingDataSensitivityDiscovery()

Creates an instance of DefenderCspmGcpOfferingDataSensitivityDiscovery class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

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

static DefenderCspmGcpOfferingDataSensitivityDiscovery fromJson(JsonReader jsonReader)

Reads an instance of DefenderCspmGcpOfferingDataSensitivityDiscovery from the JsonReader.

String serviceAccountEmailAddress()

Get the serviceAccountEmailAddress property: The service account email address in GCP for this feature.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderCspmGcpOfferingDataSensitivityDiscovery withEnabled(Boolean enabled)

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

DefenderCspmGcpOfferingDataSensitivityDiscovery withServiceAccountEmailAddress(String serviceAccountEmailAddress)

Set the serviceAccountEmailAddress property: The service account email address in GCP for this feature.

DefenderCspmGcpOfferingDataSensitivityDiscovery withWorkloadIdentityProviderId(String workloadIdentityProviderId)

Set the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.

String workloadIdentityProviderId()

Get the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.

Methods inherited from java.lang.Object

Constructor Details

DefenderCspmGcpOfferingDataSensitivityDiscovery

public DefenderCspmGcpOfferingDataSensitivityDiscovery()

Creates an instance of DefenderCspmGcpOfferingDataSensitivityDiscovery class.

Method Details

enabled

public Boolean enabled()

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

Returns:

the enabled value.

fromJson

public static DefenderCspmGcpOfferingDataSensitivityDiscovery fromJson(JsonReader jsonReader)

Reads an instance of DefenderCspmGcpOfferingDataSensitivityDiscovery from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

serviceAccountEmailAddress

public String serviceAccountEmailAddress()

Get the serviceAccountEmailAddress property: The service account email address in GCP for this feature.

Returns:

the serviceAccountEmailAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public DefenderCspmGcpOfferingDataSensitivityDiscovery withEnabled(Boolean enabled)

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

Parameters:

enabled - the enabled value to set.

Returns:

the DefenderCspmGcpOfferingDataSensitivityDiscovery object itself.

withServiceAccountEmailAddress

public DefenderCspmGcpOfferingDataSensitivityDiscovery withServiceAccountEmailAddress(String serviceAccountEmailAddress)

Set the serviceAccountEmailAddress property: The service account email address in GCP for this feature.

Parameters:

serviceAccountEmailAddress - the serviceAccountEmailAddress value to set.

Returns:

the DefenderCspmGcpOfferingDataSensitivityDiscovery object itself.

withWorkloadIdentityProviderId

public DefenderCspmGcpOfferingDataSensitivityDiscovery withWorkloadIdentityProviderId(String workloadIdentityProviderId)

Set the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.

Parameters:

workloadIdentityProviderId - the workloadIdentityProviderId value to set.

Returns:

the DefenderCspmGcpOfferingDataSensitivityDiscovery object itself.

workloadIdentityProviderId

public String workloadIdentityProviderId()

Get the workloadIdentityProviderId property: The workload identity provider id in GCP for this feature.

Returns:

the workloadIdentityProviderId value.

Applies to