All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.waf_openapi20211001.models.DescribeFreeUserEventsResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20211001.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeFreeUserEventsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeFreeUserEventsResponseBody

*/ public class DescribeFreeUserEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Event") private java.util.List < Event> event; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeFreeUserEventsResponseBody(Builder builder) { this.event = builder.event; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeFreeUserEventsResponseBody create() { return builder().build(); } /** * @return event */ public java.util.List < Event> getEvent() { return this.event; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List < Event> event; private String requestId; /** *

The security events on which basic detection is performed.

*/ public Builder event(java.util.List < Event> event) { this.event = event; return this; } /** *

The request ID.

* * example: *

8A2DF88D-90C2-56E9-B8D5-36BB9646791C

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeFreeUserEventsResponseBody build() { return new DescribeFreeUserEventsResponseBody(this); } } /** * * {@link DescribeFreeUserEventsResponseBody} extends {@link TeaModel} * *

DescribeFreeUserEventsResponseBody

*/ public static class Event extends TeaModel { @com.aliyun.core.annotation.NameInMap("ApiFormat") private String apiFormat; @com.aliyun.core.annotation.NameInMap("AttackIP") private String attackIP; @com.aliyun.core.annotation.NameInMap("AttackTime") private Long attackTime; @com.aliyun.core.annotation.NameInMap("Domain") private String domain; @com.aliyun.core.annotation.NameInMap("EventLevel") private String eventLevel; @com.aliyun.core.annotation.NameInMap("EventTag") private String eventTag; private Event(Builder builder) { this.apiFormat = builder.apiFormat; this.attackIP = builder.attackIP; this.attackTime = builder.attackTime; this.domain = builder.domain; this.eventLevel = builder.eventLevel; this.eventTag = builder.eventTag; } public static Builder builder() { return new Builder(); } public static Event create() { return builder().build(); } /** * @return apiFormat */ public String getApiFormat() { return this.apiFormat; } /** * @return attackIP */ public String getAttackIP() { return this.attackIP; } /** * @return attackTime */ public Long getAttackTime() { return this.attackTime; } /** * @return domain */ public String getDomain() { return this.domain; } /** * @return eventLevel */ public String getEventLevel() { return this.eventLevel; } /** * @return eventTag */ public String getEventTag() { return this.eventTag; } public static final class Builder { private String apiFormat; private String attackIP; private Long attackTime; private String domain; private String eventLevel; private String eventTag; /** *

The API.

* * example: *

/api/login

*/ public Builder apiFormat(String apiFormat) { this.apiFormat = apiFormat; return this; } /** *

The attacker IP address.

* * example: *

104.234.140.**

*/ public Builder attackIP(String attackIP) { this.attackIP = attackIP; return this; } /** *

The time at which the attack was launched. The value is a UNIX timestamp displayed in UTC. Unit: seconds.

* * example: *

1683703260

*/ public Builder attackTime(Long attackTime) { this.attackTime = attackTime; return this; } /** *

The domain name of the API.

* * example: *

www.***.cn

*/ public Builder domain(String domain) { this.domain = domain; return this; } /** *

The severity level of the security event. Valid values:

*
    *
  • high
  • *
  • medium
  • *
  • low
  • *
* * example: *

high

*/ public Builder eventLevel(String eventLevel) { this.eventLevel = eventLevel; return this; } /** *

The type of the security event.

*
*

You can call the DescribeApisecRules operation to query the supported types of security events.

*
* * example: *

Event_DataTraverse

*/ public Builder eventTag(String eventTag) { this.eventTag = eventTag; return this; } public Event build() { return new Event(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy