Class SecurityEventsOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.security_events_api.v1.model.SecurityEventsOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecurityEventsOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe securityEvents options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecurityEventsOptions.ActionWhat type of action was taken.static classSecurityEventsOptions.BuilderBuilder.static interfaceSecurityEventsOptions.IpClassIP class is a map of client IP to visitor classification.static interfaceSecurityEventsOptions.KindKind of events.static interfaceSecurityEventsOptions.MethodThe HTTP method of the request.static interfaceSecurityEventsOptions.ProtoThe protocol of the request.static interfaceSecurityEventsOptions.SchemeThe scheme of the uri.static interfaceSecurityEventsOptions.SourceSource of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaction()Gets the action.Stringcolo()Gets the colo.Stringcountry()Gets the country.Stringcursor()Gets the cursor.Stringhost()Gets the host.Stringip()Gets the ip.StringipClass()Gets the ipClass.Stringkind()Gets the kind.Longlimit()Gets the limit.Stringmethod()Gets the method.SecurityEventsOptions.BuildernewBuilder()New builder.Stringproto()Gets the proto.StringrayId()Gets the rayId.StringruleId()Gets the ruleId.Stringscheme()Gets the scheme.Datesince()Gets the since.Stringsource()Gets the source.Stringua()Gets the ua.Dateuntil()Gets the until.Stringuri()Gets the uri.
-
-
-
Method Detail
-
newBuilder
public SecurityEventsOptions.Builder newBuilder()
New builder.- Returns:
- a SecurityEventsOptions builder
-
ipClass
public String ipClass()
Gets the ipClass. IP class is a map of client IP to visitor classification.- Returns:
- the ipClass
-
method
public String method()
Gets the method. The HTTP method of the request.- Returns:
- the method
-
scheme
public String scheme()
Gets the scheme. The scheme of the uri.- Returns:
- the scheme
-
ip
public String ip()
Gets the ip. The IPv4 or IPv6 address from which the request originated.- Returns:
- the ip
-
host
public String host()
Gets the host. The hostname the request attempted to access.- Returns:
- the host
-
proto
public String proto()
Gets the proto. The protocol of the request.- Returns:
- the proto
-
uri
public String uri()
Gets the uri. The URI requested from the hostname.- Returns:
- the uri
-
ua
public String ua()
Gets the ua. The client user agent that initiated the request.- Returns:
- the ua
-
colo
public String colo()
Gets the colo. The 3-letter CF PoP code.- Returns:
- the colo
-
rayId
public String rayId()
Gets the rayId. Ray ID of the request.- Returns:
- the rayId
-
kind
public String kind()
Gets the kind. Kind of events. Now it is only firewall.- Returns:
- the kind
-
action
public String action()
Gets the action. What type of action was taken.- Returns:
- the action
-
cursor
public String cursor()
Gets the cursor. Cursor position and direction for requesting next set of records when amount of results was limited by the limit parameter. A valid value for the cursor can be obtained from the cursors object in the result_info structure.- Returns:
- the cursor
-
country
public String country()
Gets the country. The 2-digit country code in which the request originated.- Returns:
- the country
-
since
public Date since()
Gets the since. Start date and time of requesting data period in the ISO8601 format. Can't go back more than a year.- Returns:
- the since
-
source
public String source()
Gets the source. Source of the event.- Returns:
- the source
-
limit
public Long limit()
Gets the limit. The number of events to return.- Returns:
- the limit
-
ruleId
public String ruleId()
Gets the ruleId. The ID of the rule that triggered the event, should be considered in the context of source.- Returns:
- the ruleId
-
until
public Date until()
Gets the until. End date and time of requesting data period in the ISO8601 format.- Returns:
- the until
-
-