com.aliyun.sdk.service.cloud_siem20220616.models.DescribeCustomizeRuleTestResponseBody 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 DescribeCustomizeRuleTestResponseBody} extends {@link TeaModel}
*
* DescribeCustomizeRuleTestResponseBody
*/
public class DescribeCustomizeRuleTestResponseBody 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 DescribeCustomizeRuleTestResponseBody(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 DescribeCustomizeRuleTestResponseBody 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.
*/
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 DescribeCustomizeRuleTestResponseBody build() {
return new DescribeCustomizeRuleTestResponseBody(this);
}
}
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("SimulateData")
private String simulateData;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
private Data(Builder builder) {
this.id = builder.id;
this.simulateData = builder.simulateData;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return simulateData
*/
public String getSimulateData() {
return this.simulateData;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
public static final class Builder {
private Long id;
private String simulateData;
private Integer status;
/**
* The ID of the rule.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* The historical data that is used in the simulation test.
*/
public Builder simulateData(String simulateData) {
this.simulateData = simulateData;
return this;
}
/**
* The status of the rule. Valid values:
*
*
* * 0: The rule is in the initial state.
* * 10: The simulation data is tested.
* * 15: The business data is being tested.
* * 20: The business data test ends.
* * 100: The rule takes effect.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}