Class FusionSourceSettings
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.FusionSourceSettings
-
public final class FusionSourceSettings extends Object
Represents a supported source signal configuration in Fusion detection.
-
-
Constructor Summary
Constructors Constructor Description FusionSourceSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
enabled()
Get the enabled property: Determines whether this source signal is enabled or disabled in Fusion detection.String
sourceName()
Get the sourceName property: Name of the Fusion source signal.List<FusionSourceSubTypeSetting>
sourceSubTypes()
Get the sourceSubTypes property: Configuration for all source subtypes under this source signal consumed in fusion detection.void
validate()
Validates the instance.FusionSourceSettings
withEnabled(boolean enabled)
Set the enabled property: Determines whether this source signal is enabled or disabled in Fusion detection.FusionSourceSettings
withSourceName(String sourceName)
Set the sourceName property: Name of the Fusion source signal.FusionSourceSettings
withSourceSubTypes(List<FusionSourceSubTypeSetting> sourceSubTypes)
Set the sourceSubTypes property: Configuration for all source subtypes under this source signal consumed in fusion detection.
-
-
-
Method Detail
-
enabled
public boolean enabled()
Get the enabled property: Determines whether this source signal is enabled or disabled in Fusion detection.- Returns:
- the enabled value.
-
withEnabled
public FusionSourceSettings withEnabled(boolean enabled)
Set the enabled property: Determines whether this source signal is enabled or disabled in Fusion detection.- Parameters:
enabled
- the enabled value to set.- Returns:
- the FusionSourceSettings object itself.
-
sourceName
public String sourceName()
Get the sourceName property: Name of the Fusion source signal. Refer to Fusion alert rule template for supported values.- Returns:
- the sourceName value.
-
withSourceName
public FusionSourceSettings withSourceName(String sourceName)
Set the sourceName property: Name of the Fusion source signal. Refer to Fusion alert rule template for supported values.- Parameters:
sourceName
- the sourceName value to set.- Returns:
- the FusionSourceSettings object itself.
-
sourceSubTypes
public List<FusionSourceSubTypeSetting> sourceSubTypes()
Get the sourceSubTypes property: Configuration for all source subtypes under this source signal consumed in fusion detection.- Returns:
- the sourceSubTypes value.
-
withSourceSubTypes
public FusionSourceSettings withSourceSubTypes(List<FusionSourceSubTypeSetting> sourceSubTypes)
Set the sourceSubTypes property: Configuration for all source subtypes under this source signal consumed in fusion detection.- Parameters:
sourceSubTypes
- the sourceSubTypes value to set.- Returns:
- the FusionSourceSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-