com.aliyun.sdk.service.cloud_siem20220616.models.DescribeAutomateResponseConfigFeatureResponseBody 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 DescribeAutomateResponseConfigFeatureResponseBody} extends {@link TeaModel}
*
* DescribeAutomateResponseConfigFeatureResponseBody
*/
public class DescribeAutomateResponseConfigFeatureResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List < 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 DescribeAutomateResponseConfigFeatureResponseBody(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 DescribeAutomateResponseConfigFeatureResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < 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 java.util.List < Data> data;
private String message;
private String requestId;
private Boolean success;
/**
* The HTTP status code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* The data returned.
*/
public Builder data(java.util.List < 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 DescribeAutomateResponseConfigFeatureResponseBody build() {
return new DescribeAutomateResponseConfigFeatureResponseBody(this);
}
}
public static class RightValueEnums extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
@com.aliyun.core.annotation.NameInMap("ValueMds")
private String valueMds;
private RightValueEnums(Builder builder) {
this.value = builder.value;
this.valueMds = builder.valueMds;
}
public static Builder builder() {
return new Builder();
}
public static RightValueEnums create() {
return builder().build();
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
/**
* @return valueMds
*/
public String getValueMds() {
return this.valueMds;
}
public static final class Builder {
private String value;
private String valueMds;
/**
* The enumerated value of the right operand.
*/
public Builder value(String value) {
this.value = value;
return this;
}
/**
* The internal code of the enumerated value.
*/
public Builder valueMds(String valueMds) {
this.valueMds = valueMds;
return this;
}
public RightValueEnums build() {
return new RightValueEnums(this);
}
}
}
public static class SupportOperators extends TeaModel {
@com.aliyun.core.annotation.NameInMap("HasRightValue")
private Boolean hasRightValue;
@com.aliyun.core.annotation.NameInMap("Index")
private Integer index;
@com.aliyun.core.annotation.NameInMap("Operator")
private String operator;
@com.aliyun.core.annotation.NameInMap("OperatorDescCn")
private String operatorDescCn;
@com.aliyun.core.annotation.NameInMap("OperatorDescEn")
private String operatorDescEn;
@com.aliyun.core.annotation.NameInMap("OperatorName")
private String operatorName;
@com.aliyun.core.annotation.NameInMap("SupportDataType")
private String supportDataType;
@com.aliyun.core.annotation.NameInMap("SupportTag")
private java.util.List < String > supportTag;
private SupportOperators(Builder builder) {
this.hasRightValue = builder.hasRightValue;
this.index = builder.index;
this.operator = builder.operator;
this.operatorDescCn = builder.operatorDescCn;
this.operatorDescEn = builder.operatorDescEn;
this.operatorName = builder.operatorName;
this.supportDataType = builder.supportDataType;
this.supportTag = builder.supportTag;
}
public static Builder builder() {
return new Builder();
}
public static SupportOperators create() {
return builder().build();
}
/**
* @return hasRightValue
*/
public Boolean getHasRightValue() {
return this.hasRightValue;
}
/**
* @return index
*/
public Integer getIndex() {
return this.index;
}
/**
* @return operator
*/
public String getOperator() {
return this.operator;
}
/**
* @return operatorDescCn
*/
public String getOperatorDescCn() {
return this.operatorDescCn;
}
/**
* @return operatorDescEn
*/
public String getOperatorDescEn() {
return this.operatorDescEn;
}
/**
* @return operatorName
*/
public String getOperatorName() {
return this.operatorName;
}
/**
* @return supportDataType
*/
public String getSupportDataType() {
return this.supportDataType;
}
/**
* @return supportTag
*/
public java.util.List < String > getSupportTag() {
return this.supportTag;
}
public static final class Builder {
private Boolean hasRightValue;
private Integer index;
private String operator;
private String operatorDescCn;
private String operatorDescEn;
private String operatorName;
private String supportDataType;
private java.util.List < String > supportTag;
/**
* Indicates whether the right operand is required. Valid values:
*
*
* * true
* * false
*/
public Builder hasRightValue(Boolean hasRightValue) {
this.hasRightValue = hasRightValue;
return this;
}
/**
* The position of the operator in the operator list.
*/
public Builder index(Integer index) {
this.index = index;
return this;
}
/**
* The operator.
*/
public Builder operator(String operator) {
this.operator = operator;
return this;
}
/**
* The description of the operator in Chinese.
*/
public Builder operatorDescCn(String operatorDescCn) {
this.operatorDescCn = operatorDescCn;
return this;
}
/**
* The description of the operator in English.
*/
public Builder operatorDescEn(String operatorDescEn) {
this.operatorDescEn = operatorDescEn;
return this;
}
/**
* The name of the operator.
*/
public Builder operatorName(String operatorName) {
this.operatorName = operatorName;
return this;
}
/**
* The data types that are supported by the operator. The data types are separated by commas (,).
*/
public Builder supportDataType(String supportDataType) {
this.supportDataType = supportDataType;
return this;
}
/**
* The scenarios that are supported by the operator. Multiple scenarios are separated by commas (,), such as aggregation scenarios. By default, this parameter is empty.
*/
public Builder supportTag(java.util.List < String > supportTag) {
this.supportTag = supportTag;
return this;
}
public SupportOperators build() {
return new SupportOperators(this);
}
}
}
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DataType")
private String dataType;
@com.aliyun.core.annotation.NameInMap("Feature")
private String feature;
@com.aliyun.core.annotation.NameInMap("RightValueEnums")
private java.util.List < RightValueEnums> rightValueEnums;
@com.aliyun.core.annotation.NameInMap("SupportOperators")
private java.util.List < SupportOperators> supportOperators;
private Data(Builder builder) {
this.dataType = builder.dataType;
this.feature = builder.feature;
this.rightValueEnums = builder.rightValueEnums;
this.supportOperators = builder.supportOperators;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return dataType
*/
public String getDataType() {
return this.dataType;
}
/**
* @return feature
*/
public String getFeature() {
return this.feature;
}
/**
* @return rightValueEnums
*/
public java.util.List < RightValueEnums> getRightValueEnums() {
return this.rightValueEnums;
}
/**
* @return supportOperators
*/
public java.util.List < SupportOperators> getSupportOperators() {
return this.supportOperators;
}
public static final class Builder {
private String dataType;
private String feature;
private java.util.List < RightValueEnums> rightValueEnums;
private java.util.List < SupportOperators> supportOperators;
/**
* The data type of the condition field in the automated response rule.
*/
public Builder dataType(String dataType) {
this.dataType = dataType;
return this;
}
/**
* The name of the condition field in the automated response rule.
*/
public Builder feature(String feature) {
this.feature = feature;
return this;
}
/**
* The enumerated values of the right operand for the field.
*/
public Builder rightValueEnums(java.util.List < RightValueEnums> rightValueEnums) {
this.rightValueEnums = rightValueEnums;
return this;
}
/**
* The operators that are supported for the condition field.
*/
public Builder supportOperators(java.util.List < SupportOperators> supportOperators) {
this.supportOperators = supportOperators;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}