Class DefenderCspmAwsOfferingVmScanners
java.lang.Object
com.azure.resourcemanager.security.models.DefenderCspmAwsOfferingVmScanners
The Microsoft Defender for Server VM scanning configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: configuration for Microsoft Defender for Server VM scanning.enabled()
Get the enabled property: Is Microsoft Defender for Server VM scanning enabled.void
validate()
Validates the instance.withConfiguration
(DefenderCspmAwsOfferingVmScannersConfiguration configuration) Set the configuration property: configuration for Microsoft Defender for Server VM scanning.withEnabled
(Boolean enabled) Set the enabled property: Is Microsoft Defender for Server VM scanning enabled.
-
Constructor Details
-
DefenderCspmAwsOfferingVmScanners
public DefenderCspmAwsOfferingVmScanners()
-
-
Method Details
-
enabled
Get the enabled property: Is Microsoft Defender for Server VM scanning enabled.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Is Microsoft Defender for Server VM scanning enabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the DefenderCspmAwsOfferingVmScanners object itself.
-
configuration
Get the configuration property: configuration for Microsoft Defender for Server VM scanning.- Returns:
- the configuration value.
-
withConfiguration
public DefenderCspmAwsOfferingVmScanners withConfiguration(DefenderCspmAwsOfferingVmScannersConfiguration configuration) Set the configuration property: configuration for Microsoft Defender for Server VM scanning.- Parameters:
configuration
- the configuration value to set.- Returns:
- the DefenderCspmAwsOfferingVmScanners object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-