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

com.aliyun.sdk.service.cloud_siem20220616.models.DescribeCloudSiemEventsRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloud_siem20220616.models;

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

/**
 * {@link DescribeCloudSiemEventsRequest} extends {@link RequestModel}
 *
 * 

DescribeCloudSiemEventsRequest

*/ public class DescribeCloudSiemEventsRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("AssetId") private String assetId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("CurrentPage") @com.aliyun.core.annotation.Validation(required = true, minimum = 1) private Integer currentPage; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("EventName") private String eventName; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("IncidentUuid") private String incidentUuid; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Order") private String order; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("OrderField") private String orderField; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true, maximum = 100, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RoleFor") private Long roleFor; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RoleType") private Integer roleType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("StartTime") private Long startTime; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Status") private Integer status; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("ThreadLevel") private java.util.List < String > threadLevel; private DescribeCloudSiemEventsRequest(Builder builder) { super(builder); this.assetId = builder.assetId; this.currentPage = builder.currentPage; this.endTime = builder.endTime; this.eventName = builder.eventName; this.incidentUuid = builder.incidentUuid; this.order = builder.order; this.orderField = builder.orderField; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.roleFor = builder.roleFor; this.roleType = builder.roleType; this.startTime = builder.startTime; this.status = builder.status; this.threadLevel = builder.threadLevel; } public static Builder builder() { return new Builder(); } public static DescribeCloudSiemEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return assetId */ public String getAssetId() { return this.assetId; } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return eventName */ public String getEventName() { return this.eventName; } /** * @return incidentUuid */ public String getIncidentUuid() { return this.incidentUuid; } /** * @return order */ public String getOrder() { return this.order; } /** * @return orderField */ public String getOrderField() { return this.orderField; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return roleFor */ public Long getRoleFor() { return this.roleFor; } /** * @return roleType */ public Integer getRoleType() { return this.roleType; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public Integer getStatus() { return this.status; } /** * @return threadLevel */ public java.util.List < String > getThreadLevel() { return this.threadLevel; } public static final class Builder extends Request.Builder { private String assetId; private Integer currentPage; private Long endTime; private String eventName; private String incidentUuid; private String order; private String orderField; private Integer pageSize; private String regionId; private Long roleFor; private Integer roleType; private Long startTime; private Integer status; private java.util.List < String > threadLevel; private Builder() { super(); } private Builder(DescribeCloudSiemEventsRequest request) { super(request); this.assetId = request.assetId; this.currentPage = request.currentPage; this.endTime = request.endTime; this.eventName = request.eventName; this.incidentUuid = request.incidentUuid; this.order = request.order; this.orderField = request.orderField; this.pageSize = request.pageSize; this.regionId = request.regionId; this.roleFor = request.roleFor; this.roleType = request.roleType; this.startTime = request.startTime; this.status = request.status; this.threadLevel = request.threadLevel; } /** * The ID of the asset that is associated with the event. */ public Builder assetId(String assetId) { this.putBodyParameter("AssetId", assetId); this.assetId = assetId; return this; } /** * The page number. Pages start from page 1. */ public Builder currentPage(Integer currentPage) { this.putBodyParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * The end of the time range to query. Unit: milliseconds. */ public Builder endTime(Long endTime) { this.putBodyParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * The name of the event. */ public Builder eventName(String eventName) { this.putBodyParameter("EventName", eventName); this.eventName = eventName; return this; } /** * The ID of the event. */ public Builder incidentUuid(String incidentUuid) { this.putBodyParameter("IncidentUuid", incidentUuid); this.incidentUuid = incidentUuid; return this; } /** * The sort order. Valid values: *

* * * desc: descending order * * asc: ascending order */ public Builder order(String order) { this.putBodyParameter("Order", order); this.order = order; return this; } /** * The sort field. Valid values: *

* * * GmtModified: sorts the events by creation time. This is the default value. * * ThreatScore: sorts the events by risk score. */ public Builder orderField(String orderField) { this.putBodyParameter("OrderField", orderField); this.orderField = orderField; return this; } /** * The number of entries per page. Maximum value: 100. */ public Builder pageSize(Integer pageSize) { this.putBodyParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * The region in which the data management center of the threat analysis feature resides. Specify this parameter based on the regions in which your assets reside. Valid values: *

* * * cn-hangzhou: Your assets reside in regions in China. * * ap-southeast-1: Your assets reside in regions outside China. */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * The ID of the account that you switch from the management account. */ public Builder roleFor(Long roleFor) { this.putBodyParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * The type of the view. Valid values: *

* - 0: the current Alibaba Cloud account * - 1: the global account */ public Builder roleType(Integer roleType) { this.putBodyParameter("RoleType", roleType); this.roleType = roleType; return this; } /** * The beginning of the time range to query. Unit: milliseconds. */ public Builder startTime(Long startTime) { this.putBodyParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * The status of the event. Valid values: *

* * * 0: unhandled * * 1: handling * * 5: handling failed * * 10: handled */ public Builder status(Integer status) { this.putBodyParameter("Status", status); this.status = status; return this; } /** * The risk levels of the events. The value is a JSON array. Valid values: *

* * * serious: high * * suspicious: medium * * remind: low */ public Builder threadLevel(java.util.List < String > threadLevel) { this.putBodyParameter("ThreadLevel", threadLevel); this.threadLevel = threadLevel; return this; } @Override public DescribeCloudSiemEventsRequest build() { return new DescribeCloudSiemEventsRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy