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

com.aliyun.sdk.service.cloud_siem20220616.models.ModifyDataSourceResponseBody 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 ModifyDataSourceResponseBody} extends {@link TeaModel}
 *
 * 

ModifyDataSourceResponseBody

*/ public class ModifyDataSourceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyDataSourceResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyDataSourceResponseBody 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 ModifyDataSourceResponseBody build() { return new ModifyDataSourceResponseBody(this); } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("DataSourceInstanceId") private String dataSourceInstanceId; private Data(Builder builder) { this.count = builder.count; this.dataSourceInstanceId = builder.dataSourceInstanceId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return count */ public Integer getCount() { return this.count; } /** * @return dataSourceInstanceId */ public String getDataSourceInstanceId() { return this.dataSourceInstanceId; } public static final class Builder { private Integer count; private String dataSourceInstanceId; /** * The number of data sources 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 data source. The ID is an MD5 hash value that is calculated by the threat analysis feature based on specific parameters. */ public Builder dataSourceInstanceId(String dataSourceInstanceId) { this.dataSourceInstanceId = dataSourceInstanceId; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy