com.aliyun.sdk.service.cloud_siem20220616.models.DescribeDataSourceParametersResponseBody 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 DescribeDataSourceParametersResponseBody} extends {@link TeaModel}
*
* DescribeDataSourceParametersResponseBody
*/
public class DescribeDataSourceParametersResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List < Data> data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeDataSourceParametersResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDataSourceParametersResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
/**
* The data returned.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeDataSourceParametersResponseBody build() {
return new DescribeDataSourceParametersResponseBody(this);
}
}
public static class ParamValue extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Label")
private String label;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private ParamValue(Builder builder) {
this.label = builder.label;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static ParamValue create() {
return builder().build();
}
/**
* @return label
*/
public String getLabel() {
return this.label;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String label;
private String value;
/**
* The display value.
*/
public Builder label(String label) {
this.label = label;
return this;
}
/**
* The actual value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public ParamValue build() {
return new ParamValue(this);
}
}
}
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CanEditted")
private Integer canEditted;
@com.aliyun.core.annotation.NameInMap("CloudCode")
private String cloudCode;
@com.aliyun.core.annotation.NameInMap("DataSourceType")
private String dataSourceType;
@com.aliyun.core.annotation.NameInMap("DefaultValue")
private String defaultValue;
@com.aliyun.core.annotation.NameInMap("Disabled")
private Boolean disabled;
@com.aliyun.core.annotation.NameInMap("FormatCheck")
private String formatCheck;
@com.aliyun.core.annotation.NameInMap("Hit")
private String hit;
@com.aliyun.core.annotation.NameInMap("ParaCode")
private String paraCode;
@com.aliyun.core.annotation.NameInMap("ParaLevel")
private Integer paraLevel;
@com.aliyun.core.annotation.NameInMap("ParaName")
private String paraName;
@com.aliyun.core.annotation.NameInMap("ParaType")
private String paraType;
@com.aliyun.core.annotation.NameInMap("ParamValue")
private java.util.List < ParamValue> paramValue;
@com.aliyun.core.annotation.NameInMap("Required")
private Integer required;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
private Data(Builder builder) {
this.canEditted = builder.canEditted;
this.cloudCode = builder.cloudCode;
this.dataSourceType = builder.dataSourceType;
this.defaultValue = builder.defaultValue;
this.disabled = builder.disabled;
this.formatCheck = builder.formatCheck;
this.hit = builder.hit;
this.paraCode = builder.paraCode;
this.paraLevel = builder.paraLevel;
this.paraName = builder.paraName;
this.paraType = builder.paraType;
this.paramValue = builder.paramValue;
this.required = builder.required;
this.title = builder.title;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return canEditted
*/
public Integer getCanEditted() {
return this.canEditted;
}
/**
* @return cloudCode
*/
public String getCloudCode() {
return this.cloudCode;
}
/**
* @return dataSourceType
*/
public String getDataSourceType() {
return this.dataSourceType;
}
/**
* @return defaultValue
*/
public String getDefaultValue() {
return this.defaultValue;
}
/**
* @return disabled
*/
public Boolean getDisabled() {
return this.disabled;
}
/**
* @return formatCheck
*/
public String getFormatCheck() {
return this.formatCheck;
}
/**
* @return hit
*/
public String getHit() {
return this.hit;
}
/**
* @return paraCode
*/
public String getParaCode() {
return this.paraCode;
}
/**
* @return paraLevel
*/
public Integer getParaLevel() {
return this.paraLevel;
}
/**
* @return paraName
*/
public String getParaName() {
return this.paraName;
}
/**
* @return paraType
*/
public String getParaType() {
return this.paraType;
}
/**
* @return paramValue
*/
public java.util.List < ParamValue> getParamValue() {
return this.paramValue;
}
/**
* @return required
*/
public Integer getRequired() {
return this.required;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
public static final class Builder {
private Integer canEditted;
private String cloudCode;
private String dataSourceType;
private String defaultValue;
private Boolean disabled;
private String formatCheck;
private String hit;
private String paraCode;
private Integer paraLevel;
private String paraName;
private String paraType;
private java.util.List < ParamValue> paramValue;
private Integer required;
private String title;
/**
* Indicates whether the edit operation is supported. Valid values:
*
*
* * **0**
* * **1**
*/
public Builder canEditted(Integer canEditted) {
this.canEditted = canEditted;
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 type of the data source. Valid values:
*
*
* * **obs**: Huawei Cloud Object Storage Service (OBS)
* * **wafApi**: download API of Tencent Cloud Web Application Firewall (WAF)
* * **ckafka**: Tencent Cloud TDMQ for CKafka
*/
public Builder dataSourceType(String dataSourceType) {
this.dataSourceType = dataSourceType;
return this;
}
/**
* The default value of the parameter.
*/
public Builder defaultValue(String defaultValue) {
this.defaultValue = defaultValue;
return this;
}
/**
* Indicates whether the modification operation is forbidden. Valid values:
*
*
* * **true**
* * **false**
*/
public Builder disabled(Boolean disabled) {
this.disabled = disabled;
return this;
}
/**
* The method that is used to check the parameter format.
*/
public Builder formatCheck(String formatCheck) {
this.formatCheck = formatCheck;
return this;
}
/**
* The additional information.
*/
public Builder hit(String hit) {
this.hit = hit;
return this;
}
/**
* The code of the parameter.
*/
public Builder paraCode(String paraCode) {
this.paraCode = paraCode;
return this;
}
/**
* The parameter level. Valid values:
*
*
* * **1**: the parameters of the data source
* * **2**: the parameters of the log
*/
public Builder paraLevel(Integer paraLevel) {
this.paraLevel = paraLevel;
return this;
}
/**
* The name of the parameter.
*/
public Builder paraName(String paraName) {
this.paraName = paraName;
return this;
}
/**
* The data type of the parameter.
*/
public Builder paraType(String paraType) {
this.paraType = paraType;
return this;
}
/**
* The value of the parameter.
*/
public Builder paramValue(java.util.List < ParamValue> paramValue) {
this.paramValue = paramValue;
return this;
}
/**
* Indicates whether the parameter is required. Valid values:
*
*
* * **1**: required
* * **0**: optional
*/
public Builder required(Integer required) {
this.required = required;
return this;
}
/**
* The note for the parameter value.
*/
public Builder title(String title) {
this.title = title;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}