Package com.oracle.bmc.waf.model
Class ResponseProtection.Builder
- java.lang.Object
-
- com.oracle.bmc.waf.model.ResponseProtection.Builder
-
- Enclosing class:
- ResponseProtection
public static class ResponseProtection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseProtectionbuild()ResponseProtection.Buildercopy(ResponseProtection model)ResponseProtection.Builderrules(List<ProtectionRule> rules)Ordered list of ProtectionRules.
-
-
-
Method Detail
-
rules
public ResponseProtection.Builder rules(List<ProtectionRule> rules)
Ordered list of ProtectionRules.Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type.
- Parameters:
rules- the value to set- Returns:
- this builder
-
build
public ResponseProtection build()
-
copy
public ResponseProtection.Builder copy(ResponseProtection model)
-
-