Class SecurityEventsApi
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.BaseService
- 
- com.ibm.cloud.networking.security_events_api.v1.SecurityEventsApi
 
 
- 
 public class SecurityEventsApi extends com.ibm.cloud.sdk.core.service.BaseServiceSecurity Events API.- Version:
- v1
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_SERVICE_NAMEstatic StringDEFAULT_SERVICE_URL
 - 
Constructor SummaryConstructors Constructor Description SecurityEventsApi(String crn, String zoneId, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `SecurityEventsApi` client.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCrn()Gets the crn.StringgetZoneId()Gets the zoneId.static SecurityEventsApinewInstance(String crn, String zoneId)Class method which constructs an instance of the `SecurityEventsApi` client.static SecurityEventsApinewInstance(String crn, String zoneId, String serviceName)Class method which constructs an instance of the `SecurityEventsApi` client.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityEvents>securityEvents()Logs of the mitigations performed by Firewall features.com.ibm.cloud.sdk.core.http.ServiceCall<SecurityEvents>securityEvents(SecurityEventsOptions securityEventsOptions)Logs of the mitigations performed by Firewall features.voidsetCrn(String crn)Sets the crn.voidsetZoneId(String zoneId)Sets the zoneId.- 
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseServiceconfigureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_SERVICE_NAMEpublic static final String DEFAULT_SERVICE_NAME - See Also:
- Constant Field Values
 
 - 
DEFAULT_SERVICE_URLpublic static final String DEFAULT_SERVICE_URL - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
SecurityEventsApipublic SecurityEventsApi(String crn, String zoneId, String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator) Constructs an instance of the `SecurityEventsApi` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
- crn- Full url-encoded cloud resource name (CRN) of resource instance.
- zoneId- zone identifier.
- serviceName- the service name to be used when configuring the client instance
- authenticator- the- Authenticatorinstance to be configured for this client
 
 
- 
 - 
Method Detail- 
newInstancepublic static SecurityEventsApi newInstance(String crn, String zoneId) Class method which constructs an instance of the `SecurityEventsApi` client. The default service name is used to configure the client instance.- Parameters:
- crn- Full url-encoded cloud resource name (CRN) of resource instance.
- zoneId- zone identifier.
- Returns:
- an instance of the `SecurityEventsApi` client using external configuration
 
 - 
newInstancepublic static SecurityEventsApi newInstance(String crn, String zoneId, String serviceName) Class method which constructs an instance of the `SecurityEventsApi` client. The specified service name is used to configure the client instance.- Parameters:
- crn- Full url-encoded cloud resource name (CRN) of resource instance.
- zoneId- zone identifier.
- serviceName- the service name to be used when configuring the client instance
- Returns:
- an instance of the `SecurityEventsApi` client using external configuration
 
 - 
getCrnpublic String getCrn() Gets the crn. Full url-encoded cloud resource name (CRN) of resource instance.- Returns:
- the crn
 
 - 
setCrnpublic void setCrn(String crn) Sets the crn.- Parameters:
- crn- the new crn
 
 - 
getZoneIdpublic String getZoneId() Gets the zoneId. zone identifier.- Returns:
- the zoneId
 
 - 
setZoneIdpublic void setZoneId(String zoneId) Sets the zoneId.- Parameters:
- zoneId- the new zoneId
 
 - 
securityEventspublic com.ibm.cloud.sdk.core.http.ServiceCall<SecurityEvents> securityEvents(SecurityEventsOptions securityEventsOptions) Logs of the mitigations performed by Firewall features. Provides a full log of the mitigations performed by the CIS Firewall features including; Firewall Rules, Rate Limiting, Security Level, Access Rules (IP, IP Range, ASN, and Country), WAF (Web Application Firewall), User Agent Blocking, Zone Lockdown, and Advanced DDoS Protection.- Parameters:
- securityEventsOptions- the- SecurityEventsOptionscontaining the options for the call
- Returns:
- a ServiceCallwith a result of typeSecurityEvents
 
 - 
securityEventspublic com.ibm.cloud.sdk.core.http.ServiceCall<SecurityEvents> securityEvents() Logs of the mitigations performed by Firewall features. Provides a full log of the mitigations performed by the CIS Firewall features including; Firewall Rules, Rate Limiting, Security Level, Access Rules (IP, IP Range, ASN, and Country), WAF (Web Application Firewall), User Agent Blocking, Zone Lockdown, and Advanced DDoS Protection.- Returns:
- a ServiceCallwith a result of typeSecurityEvents
 
 
- 
 
-