DefenderFoDatabasesAwsOfferingRds Class

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

Implements

public final class DefenderFoDatabasesAwsOfferingRds
implements JsonSerializable<DefenderFoDatabasesAwsOfferingRds>

The RDS configuration.

Constructor Summary

Constructor Description
DefenderFoDatabasesAwsOfferingRds()

Creates an instance of DefenderFoDatabasesAwsOfferingRds 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 RDS protection enabled.

static DefenderFoDatabasesAwsOfferingRds fromJson(JsonReader jsonReader)

Reads an instance of DefenderFoDatabasesAwsOfferingRds from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderFoDatabasesAwsOfferingRds withCloudRoleArn(String cloudRoleArn)

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

DefenderFoDatabasesAwsOfferingRds withEnabled(Boolean enabled)

Set the enabled property: Is RDS protection enabled.

Methods inherited from java.lang.Object

Constructor Details

DefenderFoDatabasesAwsOfferingRds

public DefenderFoDatabasesAwsOfferingRds()

Creates an instance of DefenderFoDatabasesAwsOfferingRds 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 RDS protection enabled.

Returns:

the enabled value.

fromJson

public static DefenderFoDatabasesAwsOfferingRds fromJson(JsonReader jsonReader)

Reads an instance of DefenderFoDatabasesAwsOfferingRds from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCloudRoleArn

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

withEnabled

public DefenderFoDatabasesAwsOfferingRds withEnabled(Boolean enabled)

Set the enabled property: Is RDS protection enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the DefenderFoDatabasesAwsOfferingRds object itself.

Applies to