Package com.oracle.bmc.waf.model
Class ProtectionCapability.Builder
- java.lang.Object
- 
- com.oracle.bmc.waf.model.ProtectionCapability.Builder
 
- 
- Enclosing class:
- ProtectionCapability
 
 public static class ProtectionCapability.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtectionCapability.BuilderactionName(String actionName)Override action to take if capability was triggered, defined in Protection Rule for this capability.ProtectionCapabilitybuild()ProtectionCapability.BuildercollaborativeActionThreshold(Integer collaborativeActionThreshold)The minimum sum of weights of associated collaborative protection capabilities that have triggered which must be reached in order for this capability to trigger.ProtectionCapability.BuildercollaborativeWeights(List<CollaborativeCapabilityWeightOverride> collaborativeWeights)Explicit weight values to use for associated collaborative protection capabilities.ProtectionCapability.Buildercopy(ProtectionCapability model)ProtectionCapability.Builderexclusions(ProtectionCapabilityExclusions exclusions)ProtectionCapability.Builderkey(String key)Unique key of referenced protection capability.ProtectionCapability.Builderversion(Integer version)Version of referenced protection capability.
 
- 
- 
- 
Method Detail- 
keypublic ProtectionCapability.Builder key(String key) Unique key of referenced protection capability.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
versionpublic ProtectionCapability.Builder version(Integer version) Version of referenced protection capability.- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
exclusionspublic ProtectionCapability.Builder exclusions(ProtectionCapabilityExclusions exclusions) 
 - 
actionNamepublic ProtectionCapability.Builder actionName(String actionName) Override action to take if capability was triggered, defined in Protection Rule for this capability.Only actions of type CHECK are allowed. - Parameters:
- actionName- the value to set
- Returns:
- this builder
 
 - 
collaborativeActionThresholdpublic ProtectionCapability.Builder collaborativeActionThreshold(Integer collaborativeActionThreshold) The minimum sum of weights of associated collaborative protection capabilities that have triggered which must be reached in order for this capability to trigger.This field is ignored for non-collaborative capabilities. - Parameters:
- collaborativeActionThreshold- the value to set
- Returns:
- this builder
 
 - 
collaborativeWeightspublic ProtectionCapability.Builder collaborativeWeights(List<CollaborativeCapabilityWeightOverride> collaborativeWeights) Explicit weight values to use for associated collaborative protection capabilities.- Parameters:
- collaborativeWeights- the value to set
- Returns:
- this builder
 
 - 
buildpublic ProtectionCapability build() 
 - 
copypublic ProtectionCapability.Builder copy(ProtectionCapability model) 
 
- 
 
-