com.aliyun.sas20181203.models.DescribeRisksRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sas20181203 Show documentation
Show all versions of sas20181203 Show documentation
Alibaba Cloud Threat Detection (20181203) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class DescribeRisksRequest extends TeaModel {
/**
* The language of the content within the request and response. Valid values:
*
* - zh: Chinese
* - en: English
*
*
* example:
* zh
*/
@NameInMap("Lang")
public String lang;
/**
* The maximum number of entries to return. Default value: 20.
*
* example:
* 10
*/
@NameInMap("Limit")
public Integer limit;
/**
* The Alibaba Cloud account ID of the member in the resource directory.
*
* You can call the DescribeMonitorAccounts operation to obtain the IDs.
*
*
* example:
* 127608589417****
*/
@NameInMap("ResourceDirectoryAccountId")
public Long resourceDirectoryAccountId;
/**
* The baseline ID.
*
* You can call the DescribeCheckWarningSummary operation to query the baseline IDs.
*
*
* example:
* 75
*/
@NameInMap("RiskId")
public Long riskId;
/**
* The name of the baseline.
*
* example:
* docker
*/
@NameInMap("RiskName")
public String riskName;
public static DescribeRisksRequest build(java.util.Map map) throws Exception {
DescribeRisksRequest self = new DescribeRisksRequest();
return TeaModel.build(map, self);
}
public DescribeRisksRequest setLang(String lang) {
this.lang = lang;
return this;
}
public String getLang() {
return this.lang;
}
public DescribeRisksRequest setLimit(Integer limit) {
this.limit = limit;
return this;
}
public Integer getLimit() {
return this.limit;
}
public DescribeRisksRequest setResourceDirectoryAccountId(Long resourceDirectoryAccountId) {
this.resourceDirectoryAccountId = resourceDirectoryAccountId;
return this;
}
public Long getResourceDirectoryAccountId() {
return this.resourceDirectoryAccountId;
}
public DescribeRisksRequest setRiskId(Long riskId) {
this.riskId = riskId;
return this;
}
public Long getRiskId() {
return this.riskId;
}
public DescribeRisksRequest setRiskName(String riskName) {
this.riskName = riskName;
return this;
}
public String getRiskName() {
return this.riskName;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy