DeviceSecurityGroupInner Class

public final class DeviceSecurityGroupInner
extends ProxyResource

The device security group resource.

Constructor Summary

Constructor Description
DeviceSecurityGroupInner()

Creates an instance of DeviceSecurityGroupInner class.

Method Summary

Modifier and Type Method and Description
List<AllowlistCustomAlertRule> allowlistRules()

Get the allowlistRules property: The allow-list custom alert rules.

List<DenylistCustomAlertRule> denylistRules()

Get the denylistRules property: The deny-list custom alert rules.

List<ThresholdCustomAlertRule> thresholdRules()

Get the thresholdRules property: The list of custom alert threshold rules.

List<TimeWindowCustomAlertRule> timeWindowRules()

Get the timeWindowRules property: The list of custom alert time-window rules.

void validate()

Validates the instance.

DeviceSecurityGroupInner withAllowlistRules(List<AllowlistCustomAlertRule> allowlistRules)

Set the allowlistRules property: The allow-list custom alert rules.

DeviceSecurityGroupInner withDenylistRules(List<DenylistCustomAlertRule> denylistRules)

Set the denylistRules property: The deny-list custom alert rules.

DeviceSecurityGroupInner withThresholdRules(List<ThresholdCustomAlertRule> thresholdRules)

Set the thresholdRules property: The list of custom alert threshold rules.

DeviceSecurityGroupInner withTimeWindowRules(List<TimeWindowCustomAlertRule> timeWindowRules)

Set the timeWindowRules property: The list of custom alert time-window rules.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

DeviceSecurityGroupInner

public DeviceSecurityGroupInner()

Creates an instance of DeviceSecurityGroupInner class.

Method Details

allowlistRules

public List allowlistRules()

Get the allowlistRules property: The allow-list custom alert rules.

Returns:

the allowlistRules value.

denylistRules

public List denylistRules()

Get the denylistRules property: The deny-list custom alert rules.

Returns:

the denylistRules value.

thresholdRules

public List thresholdRules()

Get the thresholdRules property: The list of custom alert threshold rules.

Returns:

the thresholdRules value.

timeWindowRules

public List timeWindowRules()

Get the timeWindowRules property: The list of custom alert time-window rules.

Returns:

the timeWindowRules value.

validate

public void validate()

Validates the instance.

withAllowlistRules

public DeviceSecurityGroupInner withAllowlistRules(List allowlistRules)

Set the allowlistRules property: The allow-list custom alert rules.

Parameters:

allowlistRules - the allowlistRules value to set.

Returns:

the DeviceSecurityGroupInner object itself.

withDenylistRules

public DeviceSecurityGroupInner withDenylistRules(List denylistRules)

Set the denylistRules property: The deny-list custom alert rules.

Parameters:

denylistRules - the denylistRules value to set.

Returns:

the DeviceSecurityGroupInner object itself.

withThresholdRules

public DeviceSecurityGroupInner withThresholdRules(List thresholdRules)

Set the thresholdRules property: The list of custom alert threshold rules.

Parameters:

thresholdRules - the thresholdRules value to set.

Returns:

the DeviceSecurityGroupInner object itself.

withTimeWindowRules

public DeviceSecurityGroupInner withTimeWindowRules(List timeWindowRules)

Set the timeWindowRules property: The list of custom alert time-window rules.

Parameters:

timeWindowRules - the timeWindowRules value to set.

Returns:

the DeviceSecurityGroupInner object itself.

Applies to