Class DefenderCspmAwsOfferingVmScanners

java.lang.Object
com.azure.resourcemanager.security.models.DefenderCspmAwsOfferingVmScanners

public final class DefenderCspmAwsOfferingVmScanners extends Object
The Microsoft Defender for Server VM scanning configuration.
  • Constructor Details

    • DefenderCspmAwsOfferingVmScanners

      public DefenderCspmAwsOfferingVmScanners()
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Is Microsoft Defender for Server VM scanning enabled.
      Returns:
      the enabled value.
    • withEnabled

      public DefenderCspmAwsOfferingVmScanners withEnabled(Boolean enabled)
      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

      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.