DefenderForServersAwsOfferingVmScannersConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.DefenderForServersAwsOfferingVmScannersConfiguration

public final class DefenderForServersAwsOfferingVmScannersConfiguration

configuration for Microsoft Defender for Server VM scanning.

Constructor Summary

Constructor Description
DefenderForServersAwsOfferingVmScannersConfiguration()

Creates an instance of DefenderForServersAwsOfferingVmScannersConfiguration class.

Method Summary

Modifier and Type Method and Description
String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Map<String,String> exclusionTags()

Get the exclusionTags property: VM tags that indicates that VM should not be scanned.

ScanningMode scanningMode()

Get the scanningMode property: The scanning mode for the VM scan.

void validate()

Validates the instance.

DefenderForServersAwsOfferingVmScannersConfiguration withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.

DefenderForServersAwsOfferingVmScannersConfiguration withExclusionTags(Map<String,String> exclusionTags)

Set the exclusionTags property: VM tags that indicates that VM should not be scanned.

DefenderForServersAwsOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)

Set the scanningMode property: The scanning mode for the VM scan.

Methods inherited from java.lang.Object

Constructor Details

DefenderForServersAwsOfferingVmScannersConfiguration

public DefenderForServersAwsOfferingVmScannersConfiguration()

Creates an instance of DefenderForServersAwsOfferingVmScannersConfiguration class.

Method Details

cloudRoleArn

public String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Returns:

the cloudRoleArn value.

exclusionTags

public Map exclusionTags()

Get the exclusionTags property: VM tags that indicates that VM should not be scanned.

Returns:

the exclusionTags value.

scanningMode

public ScanningMode scanningMode()

Get the scanningMode property: The scanning mode for the VM scan.

Returns:

the scanningMode value.

validate

public void validate()

Validates the instance.

withCloudRoleArn

public DefenderForServersAwsOfferingVmScannersConfiguration 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 DefenderForServersAwsOfferingVmScannersConfiguration object itself.

withExclusionTags

public DefenderForServersAwsOfferingVmScannersConfiguration withExclusionTags(Map exclusionTags)

Set the exclusionTags property: VM tags that indicates that VM should not be scanned.

Parameters:

exclusionTags - the exclusionTags value to set.

Returns:

the DefenderForServersAwsOfferingVmScannersConfiguration object itself.

withScanningMode

public DefenderForServersAwsOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)

Set the scanningMode property: The scanning mode for the VM scan.

Parameters:

scanningMode - the scanningMode value to set.

Returns:

the DefenderForServersAwsOfferingVmScannersConfiguration object itself.

Applies to