DefenderCspmAwsOfferingDatabasesDspm Class

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

Implements

public final class DefenderCspmAwsOfferingDatabasesDspm
implements JsonSerializable<DefenderCspmAwsOfferingDatabasesDspm>

The databases DSPM configuration.

Constructor Summary

Constructor Description
DefenderCspmAwsOfferingDatabasesDspm()

Creates an instance of DefenderCspmAwsOfferingDatabasesDspm 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 databases DSPM protection enabled.

static DefenderCspmAwsOfferingDatabasesDspm fromJson(JsonReader jsonReader)

Reads an instance of DefenderCspmAwsOfferingDatabasesDspm from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderCspmAwsOfferingDatabasesDspm withCloudRoleArn(String cloudRoleArn)

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

DefenderCspmAwsOfferingDatabasesDspm withEnabled(Boolean enabled)

Set the enabled property: Is databases DSPM protection enabled.

Methods inherited from java.lang.Object

Constructor Details

DefenderCspmAwsOfferingDatabasesDspm

public DefenderCspmAwsOfferingDatabasesDspm()

Creates an instance of DefenderCspmAwsOfferingDatabasesDspm 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 databases DSPM protection enabled.

Returns:

the enabled value.

fromJson

public static DefenderCspmAwsOfferingDatabasesDspm fromJson(JsonReader jsonReader)

Reads an instance of DefenderCspmAwsOfferingDatabasesDspm from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCloudRoleArn

public DefenderCspmAwsOfferingDatabasesDspm 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 DefenderCspmAwsOfferingDatabasesDspm object itself.

withEnabled

public DefenderCspmAwsOfferingDatabasesDspm withEnabled(Boolean enabled)

Set the enabled property: Is databases DSPM protection enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the DefenderCspmAwsOfferingDatabasesDspm object itself.

Applies to