Class ProtectionCapabilitySettings
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.waf.model.ProtectionCapabilitySettings
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210930") public final class ProtectionCapabilitySettings extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSettings for protection capabilities
 Note: Objects should always be created or deserialized using theProtectionCapabilitySettings.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 ProtectionCapabilitySettings.Builder, which maintain a set of all explicitly set fields calledProtectionCapabilitySettings.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 classProtectionCapabilitySettings.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectionCapabilitySettings.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAllowedHttpMethods()List of allowed HTTP methods.IntegergetMaxHttpRequestHeaderLength()Maximum allowed length of headers in an HTTP request.IntegergetMaxHttpRequestHeaders()Maximum number of headers allowed in an HTTP request.IntegergetMaxNumberOfArguments()Maximum number of arguments allowed.IntegergetMaxSingleArgumentLength()Maximum allowed length of a single argument.IntegergetMaxTotalArgumentLength()Maximum allowed total length of all arguments.inthashCode()ProtectionCapabilitySettings.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ProtectionCapabilitySettings@Deprecated @ConstructorProperties({"maxNumberOfArguments","maxSingleArgumentLength","maxTotalArgumentLength","maxHttpRequestHeaders","maxHttpRequestHeaderLength","allowedHttpMethods"}) public ProtectionCapabilitySettings(Integer maxNumberOfArguments, Integer maxSingleArgumentLength, Integer maxTotalArgumentLength, Integer maxHttpRequestHeaders, Integer maxHttpRequestHeaderLength, List<String> allowedHttpMethods) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ProtectionCapabilitySettings.Builder builder() Create a new builder.
 - 
toBuilderpublic ProtectionCapabilitySettings.Builder toBuilder() 
 - 
getMaxNumberOfArgumentspublic Integer getMaxNumberOfArguments() Maximum number of arguments allowed.Used in protection capability 920380: Number of Arguments Limits. - Returns:
- the value
 
 - 
getMaxSingleArgumentLengthpublic Integer getMaxSingleArgumentLength() Maximum allowed length of a single argument.Used in protection capability 920370: Limit argument value length. - Returns:
- the value
 
 - 
getMaxTotalArgumentLengthpublic Integer getMaxTotalArgumentLength() Maximum allowed total length of all arguments.Used in protection capability 920390: Limit arguments total length. - Returns:
- the value
 
 - 
getMaxHttpRequestHeaderspublic Integer getMaxHttpRequestHeaders() Maximum number of headers allowed in an HTTP request.Used in protection capability 9200014: Limit Number of Request Headers. - Returns:
- the value
 
 - 
getMaxHttpRequestHeaderLengthpublic Integer getMaxHttpRequestHeaderLength() Maximum allowed length of headers in an HTTP request.Used in protection capability: 9200024: Limit length of request header size. - Returns:
- the value
 
 - 
getAllowedHttpMethodspublic List<String> getAllowedHttpMethods() List of allowed HTTP methods.Each value as a RFC7230 formated token string. Used in protection capability 911100: Restrict HTTP Request Methods. - 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
 
 
- 
 
-