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

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

DescribeDataSourceParametersRequest

*/ public class DescribeDataSourceParametersRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("CloudCode") @com.aliyun.core.annotation.Validation(required = true) private String cloudCode; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("DataSourceType") @com.aliyun.core.annotation.Validation(required = true) private String dataSourceType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeDataSourceParametersRequest(Builder builder) { super(builder); this.cloudCode = builder.cloudCode; this.dataSourceType = builder.dataSourceType; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeDataSourceParametersRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return cloudCode */ public String getCloudCode() { return this.cloudCode; } /** * @return dataSourceType */ public String getDataSourceType() { return this.dataSourceType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder { private String cloudCode; private String dataSourceType; private String regionId; private Builder() { super(); } private Builder(DescribeDataSourceParametersRequest request) { super(request); this.cloudCode = request.cloudCode; this.dataSourceType = request.dataSourceType; this.regionId = request.regionId; } /** * The code of the cloud service provider. *

* * Valid values: * * * qcloud * * hcloud * * aliyun */ public Builder cloudCode(String cloudCode) { this.putBodyParameter("CloudCode", cloudCode); this.cloudCode = cloudCode; return this; } /** * The type of the data source. Valid values: *

* * * **ckafka**: Tencent Cloud TDMQ for CKafka * * **obs**: Huawei Cloud Object Storage Service (OBS) * * **wafApi**: download API of Tencent Cloud Web Application Firewall (WAF) */ public Builder dataSourceType(String dataSourceType) { this.putBodyParameter("DataSourceType", dataSourceType); this.dataSourceType = dataSourceType; return this; } /** * The region in which the data management center of the threat analysis feature resides. Specify this parameter based on the regions in which your assets reside. Valid values: *

* * * cn-hangzhou: Your assets reside in regions in China. * * ap-southeast-1: Your assets reside in regions outside China. */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeDataSourceParametersRequest build() { return new DescribeDataSourceParametersRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy