public static class CustomProtectionRuleSetting.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CustomProtectionRuleSetting.Builder |
action(CustomProtectionRuleSetting.Action action)
The action to take when the custom protection rule is triggered.
|
CustomProtectionRuleSetting |
build() |
CustomProtectionRuleSetting.Builder |
copy(CustomProtectionRuleSetting model) |
CustomProtectionRuleSetting.Builder |
exclusions(List<ProtectionRuleExclusion> exclusions) |
CustomProtectionRuleSetting.Builder |
id(String id)
The OCID of the
custom protection rule.
|
public CustomProtectionRuleSetting.Builder id(String id)
The OCID of the custom protection rule.
id
- the value to setpublic CustomProtectionRuleSetting.Builder action(CustomProtectionRuleSetting.Action action)
The action to take when the custom protection rule is triggered. DETECT
- Logs
the request when the criteria of the custom protection rule are met. BLOCK
-
Blocks the request when the criteria of the custom protection rule are met.
action
- the value to setpublic CustomProtectionRuleSetting.Builder exclusions(List<ProtectionRuleExclusion> exclusions)
public CustomProtectionRuleSetting build()
public CustomProtectionRuleSetting.Builder copy(CustomProtectionRuleSetting model)
Copyright © 2016–2024. All rights reserved.