com.aliyun.sdk.service.cloud_siem20220616.models.DescribeDisposeAndPlaybookResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
// 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 DescribeDisposeAndPlaybookResponseBody} extends {@link TeaModel}
*
* DescribeDisposeAndPlaybookResponseBody
*/
public class DescribeDisposeAndPlaybookResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DescribeDisposeAndPlaybookResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDisposeAndPlaybookResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
/**
* The HTTP status code that is returned.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* The data returned.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* The returned message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Indicates whether the request was successful. Valid values:
*
*
* * true
* * false
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DescribeDisposeAndPlaybookResponseBody build() {
return new DescribeDisposeAndPlaybookResponseBody(this);
}
}
public static class PageInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Long totalCount;
private PageInfo(Builder builder) {
this.currentPage = builder.currentPage;
this.pageSize = builder.pageSize;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static PageInfo create() {
return builder().build();
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return totalCount
*/
public Long getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer currentPage;
private Integer pageSize;
private Long totalCount;
/**
* The current page number.
*/
public Builder currentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
/**
* The number of entries per page.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The total number of entries returned.
*/
public Builder totalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public PageInfo build() {
return new PageInfo(this);
}
}
}
public static class PlaybookList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("DisplayName")
private String displayName;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("OpCode")
private String opCode;
@com.aliyun.core.annotation.NameInMap("OpLevel")
private String opLevel;
@com.aliyun.core.annotation.NameInMap("ParamConfig")
private java.util.List < ? > paramConfig;
@com.aliyun.core.annotation.NameInMap("TaskConfig")
private String taskConfig;
@com.aliyun.core.annotation.NameInMap("WafPlaybook")
private Boolean wafPlaybook;
private PlaybookList(Builder builder) {
this.description = builder.description;
this.displayName = builder.displayName;
this.name = builder.name;
this.opCode = builder.opCode;
this.opLevel = builder.opLevel;
this.paramConfig = builder.paramConfig;
this.taskConfig = builder.taskConfig;
this.wafPlaybook = builder.wafPlaybook;
}
public static Builder builder() {
return new Builder();
}
public static PlaybookList create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return displayName
*/
public String getDisplayName() {
return this.displayName;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return opCode
*/
public String getOpCode() {
return this.opCode;
}
/**
* @return opLevel
*/
public String getOpLevel() {
return this.opLevel;
}
/**
* @return paramConfig
*/
public java.util.List < ? > getParamConfig() {
return this.paramConfig;
}
/**
* @return taskConfig
*/
public String getTaskConfig() {
return this.taskConfig;
}
/**
* @return wafPlaybook
*/
public Boolean getWafPlaybook() {
return this.wafPlaybook;
}
public static final class Builder {
private String description;
private String displayName;
private String name;
private String opCode;
private String opLevel;
private java.util.List < ? > paramConfig;
private String taskConfig;
private Boolean wafPlaybook;
/**
* The playbook description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* The display name of the playbook.
*/
public Builder displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* The playbook name, which is the unique identifier of the playbook.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* The opcode of the playbook, which corresponds to the opcode of the playbook recommended for entity handling.
*/
public Builder opCode(String opCode) {
this.opCode = opCode;
return this;
}
/**
* Indicates whether quick event handling is selected by default. Valid values:
*
*
* * 2: Quick event handling is selected.
* * 1: Quick event handling is displayed but not selected.
*/
public Builder opLevel(String opLevel) {
this.opLevel = opLevel;
return this;
}
/**
* The playbook parameters and the corresponding properties.
*/
public Builder paramConfig(java.util.List < ? > paramConfig) {
this.paramConfig = paramConfig;
return this;
}
/**
* The opcode configuration.
*/
public Builder taskConfig(String taskConfig) {
this.taskConfig = taskConfig;
return this;
}
/**
* Indicates whether the playbook is intended for Web Application Firewall (WAF). Valid values:
*
*
* * true
* * false
*/
public Builder wafPlaybook(Boolean wafPlaybook) {
this.wafPlaybook = wafPlaybook;
return this;
}
public PlaybookList build() {
return new PlaybookList(this);
}
}
}
public static class ResponseData extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AlertNum")
private Integer alertNum;
@com.aliyun.core.annotation.NameInMap("Dispose")
private String dispose;
@com.aliyun.core.annotation.NameInMap("EntityId")
private Long entityId;
@com.aliyun.core.annotation.NameInMap("EntityInfo")
private java.util.Map < String, ? > entityInfo;
@com.aliyun.core.annotation.NameInMap("OpcodeMap")
private java.util.Map < String, String > opcodeMap;
@com.aliyun.core.annotation.NameInMap("OpcodeSet")
private java.util.List < String > opcodeSet;
@com.aliyun.core.annotation.NameInMap("PlaybookList")
private java.util.List < PlaybookList> playbookList;
@com.aliyun.core.annotation.NameInMap("Scope")
private java.util.List < ? > scope;
private ResponseData(Builder builder) {
this.alertNum = builder.alertNum;
this.dispose = builder.dispose;
this.entityId = builder.entityId;
this.entityInfo = builder.entityInfo;
this.opcodeMap = builder.opcodeMap;
this.opcodeSet = builder.opcodeSet;
this.playbookList = builder.playbookList;
this.scope = builder.scope;
}
public static Builder builder() {
return new Builder();
}
public static ResponseData create() {
return builder().build();
}
/**
* @return alertNum
*/
public Integer getAlertNum() {
return this.alertNum;
}
/**
* @return dispose
*/
public String getDispose() {
return this.dispose;
}
/**
* @return entityId
*/
public Long getEntityId() {
return this.entityId;
}
/**
* @return entityInfo
*/
public java.util.Map < String, ? > getEntityInfo() {
return this.entityInfo;
}
/**
* @return opcodeMap
*/
public java.util.Map < String, String > getOpcodeMap() {
return this.opcodeMap;
}
/**
* @return opcodeSet
*/
public java.util.List < String > getOpcodeSet() {
return this.opcodeSet;
}
/**
* @return playbookList
*/
public java.util.List < PlaybookList> getPlaybookList() {
return this.playbookList;
}
/**
* @return scope
*/
public java.util.List < ? > getScope() {
return this.scope;
}
public static final class Builder {
private Integer alertNum;
private String dispose;
private Long entityId;
private java.util.Map < String, ? > entityInfo;
private java.util.Map < String, String > opcodeMap;
private java.util.List < String > opcodeSet;
private java.util.List < PlaybookList> playbookList;
private java.util.List < ? > scope;
/**
* The number of alerts that are associated with the entity.
*/
public Builder alertNum(Integer alertNum) {
this.alertNum = alertNum;
return this;
}
/**
* The object for handling.
*/
public Builder dispose(String dispose) {
this.dispose = dispose;
return this;
}
/**
* The entity ID
*/
public Builder entityId(Long entityId) {
this.entityId = entityId;
return this;
}
/**
* The entity information.
*/
public Builder entityInfo(java.util.Map < String, ? > entityInfo) {
this.entityInfo = entityInfo;
return this;
}
/**
* The key-value pairs each of which consists of opcode and oplevel.
*/
public Builder opcodeMap(java.util.Map < String, String > opcodeMap) {
this.opcodeMap = opcodeMap;
return this;
}
/**
* The codes of the playbooks that are recommended for entity handling.
*/
public Builder opcodeSet(java.util.List < String > opcodeSet) {
this.opcodeSet = opcodeSet;
return this;
}
/**
* The playbooks that can handle the entity.
*/
public Builder playbookList(java.util.List < PlaybookList> playbookList) {
this.playbookList = playbookList;
return this;
}
/**
* The IDs of the users who can handle objects.
*/
public Builder scope(java.util.List < ? > scope) {
this.scope = scope;
return this;
}
public ResponseData build() {
return new ResponseData(this);
}
}
}
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageInfo")
private PageInfo pageInfo;
@com.aliyun.core.annotation.NameInMap("ResponseData")
private java.util.List < ResponseData> responseData;
private Data(Builder builder) {
this.pageInfo = builder.pageInfo;
this.responseData = builder.responseData;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageInfo
*/
public PageInfo getPageInfo() {
return this.pageInfo;
}
/**
* @return responseData
*/
public java.util.List < ResponseData> getResponseData() {
return this.responseData;
}
public static final class Builder {
private PageInfo pageInfo;
private java.util.List < ResponseData> responseData;
/**
* The pagination information.
*/
public Builder pageInfo(PageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
/**
* The detailed data.
*/
public Builder responseData(java.util.List < ResponseData> responseData) {
this.responseData = responseData;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}