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.ExplicitlySetBmcModelA 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 SummaryNested Classes Modifier and Type Class Description static classProtectionCapabilitySummary.Builderstatic classProtectionCapabilitySummary.TypeThe type of protection capability.
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectionCapabilitySummary.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCollaborativeActionThreshold()The default collaborative action threshold for OCI-managed collaborative protection capability.List<CollaborativeCapabilityWeight>getCollaborativeWeights()The weights of contributing capabilities.StringgetDescription()The description of protection capability.StringgetDisplayName()The display name of protection capability.List<String>getGroupTags()The list of unique names protection capability group tags that are associated with this capability.BooleangetIsLatestVersion()The field that shows if this is the latest version of protection capability.StringgetKey()Unique key of protection capability.ProtectionCapabilitySummary.TypegetType()The type of protection capability.IntegergetVersion()The version of protection capability.inthashCode()ProtectionCapabilitySummary.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static ProtectionCapabilitySummary.Builder builder() Create a new builder.
 - 
toBuilderpublic ProtectionCapabilitySummary.Builder toBuilder() 
 - 
getKeypublic String getKey() Unique key of protection capability.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The display name of protection capability.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() The description of protection capability.- Returns:
- the value
 
 - 
getVersionpublic Integer getVersion() The version of protection capability.- Returns:
- the value
 
 - 
getIsLatestVersionpublic Boolean getIsLatestVersion() The field that shows if this is the latest version of protection capability.- Returns:
- the value
 
 - 
getGroupTagspublic List<String> getGroupTags() The list of unique names protection capability group tags that are associated with this capability.Example: [“PCI”, “Recommended”] - Returns:
- the value
 
 - 
getTypepublic 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
 
 - 
getCollaborativeActionThresholdpublic 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
 
 - 
getCollaborativeWeightspublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-