Class ProtectionCapabilitySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.waf.model.ProtectionCapabilitySummary
-
@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 theProtectionCapabilitySummary.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 theProtectionCapabilitySummary.Builder
, which maintain a set of all explicitly set fields calledProtectionCapabilitySummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProtectionCapabilitySummary.Builder
static class
ProtectionCapabilitySummary.Type
The type of protection capability.
-
Constructor Summary
Constructors Constructor Description ProtectionCapabilitySummary(String key, String displayName, String description, Integer version, Boolean isLatestVersion, List<String> groupTags, ProtectionCapabilitySummary.Type type, Integer collaborativeActionThreshold, List<CollaborativeCapabilityWeight> collaborativeWeights)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
ProtectionCapabilitySummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static ProtectionCapabilitySummary.Builder builder()
Create a new builder.
-
toBuilder
public ProtectionCapabilitySummary.Builder toBuilder()
-
getKey
public String getKey()
Unique key of protection capability.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of protection capability.- Returns:
- the value
-
getDescription
public String getDescription()
The description of protection capability.- Returns:
- the value
-
getVersion
public Integer getVersion()
The version of protection capability.- Returns:
- the value
-
getIsLatestVersion
public Boolean getIsLatestVersion()
The field that shows if this is the latest version of protection capability.- Returns:
- the value
-
getGroupTags
public List<String> getGroupTags()
The list of unique names protection capability group tags that are associated with this capability.Example: [“PCI”, “Recommended”]
- Returns:
- the value
-
getType
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.
- Returns:
- the value
-
getCollaborativeActionThreshold
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.
- Returns:
- the value
-
getCollaborativeWeights
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-