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

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

DescribeDataSourceInstanceResponseBody

*/ public class DescribeDataSourceInstanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDataSourceInstanceResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDataSourceInstanceResponseBody 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 DescribeDataSourceInstanceResponseBody build() { return new DescribeDataSourceInstanceResponseBody(this); } } public static class DataSourceInstanceParams extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParaCode") private String paraCode; @com.aliyun.core.annotation.NameInMap("ParaValue") private String paraValue; private DataSourceInstanceParams(Builder builder) { this.paraCode = builder.paraCode; this.paraValue = builder.paraValue; } public static Builder builder() { return new Builder(); } public static DataSourceInstanceParams create() { return builder().build(); } /** * @return paraCode */ public String getParaCode() { return this.paraCode; } /** * @return paraValue */ public String getParaValue() { return this.paraValue; } public static final class Builder { private String paraCode; private String paraValue; /** * The code of the parameter. */ public Builder paraCode(String paraCode) { this.paraCode = paraCode; return this; } /** * The value of the parameter. */ public Builder paraValue(String paraValue) { this.paraValue = paraValue; return this; } public DataSourceInstanceParams build() { return new DataSourceInstanceParams(this); } } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountId") private String accountId; @com.aliyun.core.annotation.NameInMap("CloudCode") private String cloudCode; @com.aliyun.core.annotation.NameInMap("DataSourceInstanceId") private String dataSourceInstanceId; @com.aliyun.core.annotation.NameInMap("DataSourceInstanceParams") private java.util.List < DataSourceInstanceParams> dataSourceInstanceParams; private Data(Builder builder) { this.accountId = builder.accountId; this.cloudCode = builder.cloudCode; this.dataSourceInstanceId = builder.dataSourceInstanceId; this.dataSourceInstanceParams = builder.dataSourceInstanceParams; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return cloudCode */ public String getCloudCode() { return this.cloudCode; } /** * @return dataSourceInstanceId */ public String getDataSourceInstanceId() { return this.dataSourceInstanceId; } /** * @return dataSourceInstanceParams */ public java.util.List < DataSourceInstanceParams> getDataSourceInstanceParams() { return this.dataSourceInstanceParams; } public static final class Builder { private String accountId; private String cloudCode; private String dataSourceInstanceId; private java.util.List < DataSourceInstanceParams> dataSourceInstanceParams; /** * The ID of the cloud account. */ public Builder accountId(String accountId) { this.accountId = accountId; return this; } /** * The code of the cloud service provider. Valid values: *

* * * qcloud: Tencent Cloud * * aliyun: Alibaba Cloud * * hcloud: Huawei Cloud */ public Builder cloudCode(String cloudCode) { this.cloudCode = cloudCode; 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; } /** * The parameters of the data source. */ public Builder dataSourceInstanceParams(java.util.List < DataSourceInstanceParams> dataSourceInstanceParams) { this.dataSourceInstanceParams = dataSourceInstanceParams; return this; } public Data build() { return new Data(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy