@Generated(value="OracleSDKGenerator", comments="API Version: 20210930") public final class ProtectionCapabilitySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A summary of available OCI-managed protection capabilities in WebAppFirewallPolicy. Protection
capabilies checks HTTP requests/responses if they are malicious.
Note: Objects should always be created or deserialized using the ProtectionCapabilitySummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the ProtectionCapabilitySummary.Builder
, which maintain a
set of all explicitly set fields called ProtectionCapabilitySummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ProtectionCapabilitySummary.Builder |
static class |
ProtectionCapabilitySummary.Type
The type of protection capability.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ProtectionCapabilitySummary(String key,
String displayName,
String description,
Integer version,
Boolean isLatestVersion,
List<String> groupTags,
ProtectionCapabilitySummary.Type type,
Integer collaborativeActionThreshold,
List<CollaborativeCapabilityWeight> collaborativeWeights)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ProtectionCapabilitySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getCollaborativeActionThreshold()
The default collaborative action threshold for OCI-managed collaborative protection
capability.
|
List<CollaborativeCapabilityWeight> |
getCollaborativeWeights()
The weights of contributing capabilities.
|
String |
getDescription()
The description of protection capability.
|
String |
getDisplayName()
The display name of protection capability.
|
List<String> |
getGroupTags()
The list of unique names protection capability group tags that are associated with this
capability.
|
Boolean |
getIsLatestVersion()
The field that shows if this is the latest version of protection capability.
|
String |
getKey()
Unique key of protection capability.
|
ProtectionCapabilitySummary.Type |
getType()
The type of protection capability.
|
Integer |
getVersion()
The version of protection capability.
|
int |
hashCode() |
ProtectionCapabilitySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","displayName","description","version","isLatestVersion","groupTags","type","collaborativeActionThreshold","collaborativeWeights"}) public ProtectionCapabilitySummary(String key, String displayName, String description, Integer version, Boolean isLatestVersion, List<String> groupTags, ProtectionCapabilitySummary.Type type, Integer collaborativeActionThreshold, List<CollaborativeCapabilityWeight> collaborativeWeights)
public static ProtectionCapabilitySummary.Builder builder()
Create a new builder.
public ProtectionCapabilitySummary.Builder toBuilder()
public String getKey()
Unique key of protection capability.
public String getDisplayName()
The display name of protection capability.
public String getDescription()
The description of protection capability.
public Integer getVersion()
The version of protection capability.
public Boolean getIsLatestVersion()
The field that shows if this is the latest version of protection capability.
public List<String> getGroupTags()
The list of unique names protection capability group tags that are associated with this capability. Example: [“PCI”, “Recommended”]
public ProtectionCapabilitySummary.Type getType()
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.
public Integer getCollaborativeActionThreshold()
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.
public List<CollaborativeCapabilityWeight> getCollaborativeWeights()
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.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.