DefenderForStorageSettingProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. DefenderForStorageSettingProperties
- com.
Implements
public final class DefenderForStorageSettingProperties
implements JsonSerializable<DefenderForStorageSettingProperties>
Defender for Storage resource properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DefenderForStorageSettingProperties() |
Creates an instance of Defender |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Defender |
fromJson(JsonReader jsonReader)
Reads an instance of Defender |
| Boolean |
isEnabled()
Get the is |
|
Malware |
malwareScanning()
Get the malware |
| Boolean |
overrideSubscriptionLevelSettings()
Get the override |
|
Sensitive |
sensitiveDataDiscovery()
Get the sensitive |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Defender |
withIsEnabled(Boolean isEnabled)
Set the is |
|
Defender |
withMalwareScanning(MalwareScanningProperties malwareScanning)
Set the malware |
|
Defender |
withOverrideSubscriptionLevelSettings(Boolean overrideSubscriptionLevelSettings)
Set the override |
|
Defender |
withSensitiveDataDiscovery(SensitiveDataDiscoveryProperties sensitiveDataDiscovery)
Set the sensitive |
Methods inherited from java.lang.Object
Constructor Details
DefenderForStorageSettingProperties
public DefenderForStorageSettingProperties()
Creates an instance of DefenderForStorageSettingProperties class.
Method Details
fromJson
public static DefenderForStorageSettingProperties fromJson(JsonReader jsonReader)
Reads an instance of DefenderForStorageSettingProperties from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Indicates whether Defender for Storage is enabled on this storage account.
Returns:
malwareScanning
public MalwareScanningProperties malwareScanning()
Get the malwareScanning property: Properties of Malware Scanning.
Returns:
overrideSubscriptionLevelSettings
public Boolean overrideSubscriptionLevelSettings()
Get the overrideSubscriptionLevelSettings property: Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
Returns:
sensitiveDataDiscovery
public SensitiveDataDiscoveryProperties sensitiveDataDiscovery()
Get the sensitiveDataDiscovery property: Properties of Sensitive Data Discovery.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsEnabled
public DefenderForStorageSettingProperties withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Indicates whether Defender for Storage is enabled on this storage account.
Parameters:
Returns:
withMalwareScanning
public DefenderForStorageSettingProperties withMalwareScanning(MalwareScanningProperties malwareScanning)
Set the malwareScanning property: Properties of Malware Scanning.
Parameters:
Returns:
withOverrideSubscriptionLevelSettings
public DefenderForStorageSettingProperties withOverrideSubscriptionLevelSettings(Boolean overrideSubscriptionLevelSettings)
Set the overrideSubscriptionLevelSettings property: Indicates whether the settings defined for this storage account should override the settings defined for the subscription.
Parameters:
Returns:
withSensitiveDataDiscovery
public DefenderForStorageSettingProperties withSensitiveDataDiscovery(SensitiveDataDiscoveryProperties sensitiveDataDiscovery)
Set the sensitiveDataDiscovery property: Properties of Sensitive Data Discovery.
Parameters:
Returns: