public static class ProtectionCapabilitySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProtectionCapabilitySummary |
build() |
ProtectionCapabilitySummary.Builder |
collaborativeActionThreshold(Integer collaborativeActionThreshold)
The default collaborative action threshold for OCI-managed collaborative protection
capability.
|
ProtectionCapabilitySummary.Builder |
collaborativeWeights(List<CollaborativeCapabilityWeight> collaborativeWeights)
The weights of contributing capabilities.
|
ProtectionCapabilitySummary.Builder |
copy(ProtectionCapabilitySummary model) |
ProtectionCapabilitySummary.Builder |
description(String description)
The description of protection capability.
|
ProtectionCapabilitySummary.Builder |
displayName(String displayName)
The display name of protection capability.
|
ProtectionCapabilitySummary.Builder |
groupTags(List<String> groupTags)
The list of unique names protection capability group tags that are associated with this
capability.
|
ProtectionCapabilitySummary.Builder |
isLatestVersion(Boolean isLatestVersion)
The field that shows if this is the latest version of protection capability.
|
ProtectionCapabilitySummary.Builder |
key(String key)
Unique key of protection capability.
|
ProtectionCapabilitySummary.Builder |
type(ProtectionCapabilitySummary.Type type)
The type of protection capability.
|
ProtectionCapabilitySummary.Builder |
version(Integer version)
The version of protection capability.
|
public ProtectionCapabilitySummary.Builder key(String key)
Unique key of protection capability.
key
- the value to setpublic ProtectionCapabilitySummary.Builder displayName(String displayName)
The display name of protection capability.
displayName
- the value to setpublic ProtectionCapabilitySummary.Builder description(String description)
The description of protection capability.
description
- the value to setpublic ProtectionCapabilitySummary.Builder version(Integer version)
The version of protection capability.
version
- the value to setpublic ProtectionCapabilitySummary.Builder isLatestVersion(Boolean isLatestVersion)
The field that shows if this is the latest version of protection capability.
isLatestVersion
- the value to setpublic ProtectionCapabilitySummary.Builder groupTags(List<String> groupTags)
The list of unique names protection capability group tags that are associated with this capability. Example: [“PCI”, “Recommended”]
groupTags
- the value to setpublic ProtectionCapabilitySummary.Builder type(ProtectionCapabilitySummary.Type type)
The type of protection capability.
**REQUEST_PROTECTION_CAPABILITY** can only be used in requestProtection
module
of WebAppFirewallPolicy.
**RESPONSE_PROTECTION_CAPABILITY** can only be used in responseProtection
module of WebAppFirewallPolicy.
type
- the value to setpublic ProtectionCapabilitySummary.Builder collaborativeActionThreshold(Integer collaborativeActionThreshold)
The default collaborative action threshold for OCI-managed collaborative protection
capability. Collaborative protection capabilities are made of several simple,
non-collaborative protection capabilities (referred to as contributing
capabilities
later on) which have weights assigned to them. These weights can be found
in the collaborativeWeights
array. For incoming/outgoing HTTP messages, all
contributing capabilities are executed and the sum of all triggered contributing
capabilities weights is calculated. Only if this sum is greater than or equal to collaborativeActionThreshold
is the incoming/outgoing HTTP message marked as malicious.
This field is ignored for non-collaborative capabilities.
collaborativeActionThreshold
- the value to setpublic ProtectionCapabilitySummary.Builder collaborativeWeights(List<CollaborativeCapabilityWeight> collaborativeWeights)
The weights of contributing capabilities. Defines how much each contributing capability contributes towards the action threshold of a collaborative protection capability.
This field is ignored for non-collaborative capabilities.
collaborativeWeights
- the value to setpublic ProtectionCapabilitySummary build()
public ProtectionCapabilitySummary.Builder copy(ProtectionCapabilitySummary model)
Copyright © 2016–2024. All rights reserved.