com.aliyun.sdk.service.cloud_siem20220616.models.ModifyDataSourceLogResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
Alibaba Cloud cloud-siem (20220616) Async SDK for Java
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 ModifyDataSourceLogResponseBody} extends {@link TeaModel}
*
* ModifyDataSourceLogResponseBody
*/
public class ModifyDataSourceLogResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ModifyDataSourceLogResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyDataSourceLogResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private Data data;
private String requestId;
/**
* The data returned.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ModifyDataSourceLogResponseBody build() {
return new ModifyDataSourceLogResponseBody(this);
}
}
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Count")
private Integer count;
@com.aliyun.core.annotation.NameInMap("LogInstanceId")
private String logInstanceId;
private Data(Builder builder) {
this.count = builder.count;
this.logInstanceId = builder.logInstanceId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return count
*/
public Integer getCount() {
return this.count;
}
/**
* @return logInstanceId
*/
public String getLogInstanceId() {
return this.logInstanceId;
}
public static final class Builder {
private Integer count;
private String logInstanceId;
/**
* The number of logs that are modified. The value 1 indicates that the modification is successful, and a value less than or equal to 0 indicates that the modification failed.
*/
public Builder count(Integer count) {
this.count = count;
return this;
}
/**
* The ID of the log. The ID is an MD5 hash value that is calculated by the threat analysis feature based on specific parameters.
*/
public Builder logInstanceId(String logInstanceId) {
this.logInstanceId = logInstanceId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}