Package com.oracle.bmc.waas.model
Class WafBlockedRequest
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.waas.model.WafBlockedRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181116") public final class WafBlockedRequest extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 Note: Objects should always be created or deserialized using theWafBlockedRequest.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 WafBlockedRequest.Builder, which maintain a set of all explicitly set fields calledWafBlockedRequest.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 classWafBlockedRequest.Builderstatic classWafBlockedRequest.WafFeatureThe specific Web Application Firewall feature that blocked the requests, such as JavaScript Challenge or Access Control.
 - 
Constructor SummaryConstructors Constructor Description WafBlockedRequest(Date timeObserved, Integer timeRangeInSeconds, WafBlockedRequest.WafFeature wafFeature, Integer count)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WafBlockedRequest.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCount()The count of blocked requests.DategetTimeObserved()The date and time the blocked requests were observed, expressed in RFC 3339 timestamp format.IntegergetTimeRangeInSeconds()The number of seconds the data covers.WafBlockedRequest.WafFeaturegetWafFeature()The specific Web Application Firewall feature that blocked the requests, such as JavaScript Challenge or Access Control.inthashCode()WafBlockedRequest.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
WafBlockedRequest@Deprecated @ConstructorProperties({"timeObserved","timeRangeInSeconds","wafFeature","count"}) public WafBlockedRequest(Date timeObserved, Integer timeRangeInSeconds, WafBlockedRequest.WafFeature wafFeature, Integer count) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static WafBlockedRequest.Builder builder() Create a new builder.
 - 
toBuilderpublic WafBlockedRequest.Builder toBuilder() 
 - 
getTimeObservedpublic Date getTimeObserved() The date and time the blocked requests were observed, expressed in RFC 3339 timestamp format.- Returns:
- the value
 
 - 
getTimeRangeInSecondspublic Integer getTimeRangeInSeconds() The number of seconds the data covers.- Returns:
- the value
 
 - 
getWafFeaturepublic WafBlockedRequest.WafFeature getWafFeature() The specific Web Application Firewall feature that blocked the requests, such as JavaScript Challenge or Access Control.- Returns:
- the value
 
 - 
getCountpublic Integer getCount() The count of blocked requests.- 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
 
 
- 
 
-