Class FusionSubTypeSeverityFiltersItem
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.FusionSubTypeSeverityFiltersItem
-
public final class FusionSubTypeSeverityFiltersItem extends Object
Represents a Severity filter setting for a given source subtype consumed in Fusion detection.
-
-
Constructor Summary
Constructors Constructor Description FusionSubTypeSeverityFiltersItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
enabled()
Get the enabled property: Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection.AlertSeverity
severity()
Get the severity property: The Severity for a given source subtype consumed in Fusion detection.void
validate()
Validates the instance.FusionSubTypeSeverityFiltersItem
withEnabled(boolean enabled)
Set the enabled property: Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection.FusionSubTypeSeverityFiltersItem
withSeverity(AlertSeverity severity)
Set the severity property: The Severity for a given source subtype consumed in Fusion detection.
-
-
-
Method Detail
-
severity
public AlertSeverity severity()
Get the severity property: The Severity for a given source subtype consumed in Fusion detection.- Returns:
- the severity value.
-
withSeverity
public FusionSubTypeSeverityFiltersItem withSeverity(AlertSeverity severity)
Set the severity property: The Severity for a given source subtype consumed in Fusion detection.- Parameters:
severity
- the severity value to set.- Returns:
- the FusionSubTypeSeverityFiltersItem object itself.
-
enabled
public boolean enabled()
Get the enabled property: Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection.- Returns:
- the enabled value.
-
withEnabled
public FusionSubTypeSeverityFiltersItem withEnabled(boolean enabled)
Set the enabled property: Determines whether this severity is enabled or disabled for this source subtype consumed in Fusion detection.- Parameters:
enabled
- the enabled value to set.- Returns:
- the FusionSubTypeSeverityFiltersItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-