Class DefenderCspmAwsOfferingVmScannersConfiguration

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

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

    • DefenderCspmAwsOfferingVmScannersConfiguration

      public DefenderCspmAwsOfferingVmScannersConfiguration()
  • Method Details

    • cloudRoleArn

      public String cloudRoleArn()
      Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.
      Returns:
      the cloudRoleArn value.
    • withCloudRoleArn

      public DefenderCspmAwsOfferingVmScannersConfiguration 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 DefenderCspmAwsOfferingVmScannersConfiguration object itself.
    • scanningMode

      public ScanningMode scanningMode()
      Get the scanningMode property: The scanning mode for the vm scan.
      Returns:
      the scanningMode value.
    • withScanningMode

      public DefenderCspmAwsOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)
      Set the scanningMode property: The scanning mode for the vm scan.
      Parameters:
      scanningMode - the scanningMode value to set.
      Returns:
      the DefenderCspmAwsOfferingVmScannersConfiguration object itself.
    • exclusionTags

      public Map<String,String> exclusionTags()
      Get the exclusionTags property: VM tags that indicates that VM should not be scanned.
      Returns:
      the exclusionTags value.
    • withExclusionTags

      public DefenderCspmAwsOfferingVmScannersConfiguration withExclusionTags(Map<String,String> exclusionTags)
      Set the exclusionTags property: VM tags that indicates that VM should not be scanned.
      Parameters:
      exclusionTags - the exclusionTags value to set.
      Returns:
      the DefenderCspmAwsOfferingVmScannersConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.