Class DefenderCspmAwsOfferingVmScannersConfiguration
java.lang.Object
com.azure.resourcemanager.security.models.DefenderCspmAwsOfferingVmScannersConfiguration
configuration for Microsoft Defender for Server VM scanning.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the cloudRoleArn property: The cloud role ARN in AWS for this feature.Get the exclusionTags property: VM tags that indicates that VM should not be scanned.Get the scanningMode property: The scanning mode for the vm scan.void
validate()
Validates the instance.withCloudRoleArn
(String cloudRoleArn) Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.withExclusionTags
(Map<String, String> exclusionTags) Set the exclusionTags property: VM tags that indicates that VM should not be scanned.withScanningMode
(ScanningMode scanningMode) Set the scanningMode property: The scanning mode for the vm scan.
-
Constructor Details
-
DefenderCspmAwsOfferingVmScannersConfiguration
public DefenderCspmAwsOfferingVmScannersConfiguration()
-
-
Method Details
-
cloudRoleArn
Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.- Returns:
- the cloudRoleArn value.
-
withCloudRoleArn
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
Get the scanningMode property: The scanning mode for the vm scan.- Returns:
- the scanningMode value.
-
withScanningMode
Set the scanningMode property: The scanning mode for the vm scan.- Parameters:
scanningMode
- the scanningMode value to set.- Returns:
- the DefenderCspmAwsOfferingVmScannersConfiguration object itself.
-
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.
-