DefenderCspmAwsOfferingVmScanners Class

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

public final class DefenderCspmAwsOfferingVmScanners

The Microsoft Defender for Server VM scanning configuration.

Constructor Summary

Constructor Description
DefenderCspmAwsOfferingVmScanners()

Creates an instance of DefenderCspmAwsOfferingVmScanners class.

Method Summary

Modifier and Type Method and Description
DefenderCspmAwsOfferingVmScannersConfiguration configuration()

Get the configuration property: configuration for Microsoft Defender for Server VM scanning.

Boolean enabled()

Get the enabled property: Is Microsoft Defender for Server VM scanning enabled.

void validate()

Validates the instance.

DefenderCspmAwsOfferingVmScanners withConfiguration(DefenderCspmAwsOfferingVmScannersConfiguration configuration)

Set the configuration property: configuration for Microsoft Defender for Server VM scanning.

DefenderCspmAwsOfferingVmScanners withEnabled(Boolean enabled)

Set the enabled property: Is Microsoft Defender for Server VM scanning enabled.

Methods inherited from java.lang.Object

Constructor Details

DefenderCspmAwsOfferingVmScanners

public DefenderCspmAwsOfferingVmScanners()

Creates an instance of DefenderCspmAwsOfferingVmScanners class.

Method Details

configuration

public DefenderCspmAwsOfferingVmScannersConfiguration configuration()

Get the configuration property: configuration for Microsoft Defender for Server VM scanning.

Returns:

the configuration value.

enabled

public Boolean enabled()

Get the enabled property: Is Microsoft Defender for Server VM scanning enabled.

Returns:

the enabled value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to