com.aliyun.sas20181203.models.DescribeImageBaselineDetailResponseBody 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 DescribeImageBaselineDetailResponseBody extends TeaModel {
/**
* The details about the image baseline.
*/
@NameInMap("BaselineDetail")
public DescribeImageBaselineDetailResponseBodyBaselineDetail baselineDetail;
/**
* The ID of the request.
*
* example:
* 0B48AB3C-84FC-424D-A01D-B9270EF4****
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeImageBaselineDetailResponseBody build(java.util.Map map) throws Exception {
DescribeImageBaselineDetailResponseBody self = new DescribeImageBaselineDetailResponseBody();
return TeaModel.build(map, self);
}
public DescribeImageBaselineDetailResponseBody setBaselineDetail(DescribeImageBaselineDetailResponseBodyBaselineDetail baselineDetail) {
this.baselineDetail = baselineDetail;
return this;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail getBaselineDetail() {
return this.baselineDetail;
}
public DescribeImageBaselineDetailResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeImageBaselineDetailResponseBodyBaselineDetail extends TeaModel {
/**
* The suggestion for the management of the risk item.
*
* example:
* Delete the leaked AccessKey pairs.
*/
@NameInMap("Advice")
public String advice;
/**
* The alias of the baseline type.
*
* example:
* ak_leak
*/
@NameInMap("BaselineClassAlias")
public String baselineClassAlias;
/**
* The alias of the baseline check item.
*
* example:
* AccessKey pair leak
*/
@NameInMap("BaselineItemAlias")
public String baselineItemAlias;
/**
* The key of the baseline check item.
*
* example:
* ak_leak
*/
@NameInMap("BaselineItemKey")
public String baselineItemKey;
/**
* The alias of the baseline.
*
* example:
* AccessKey pair leak
*/
@NameInMap("BaselineNameAlias")
public String baselineNameAlias;
/**
* The description of the risk item.
*
* example:
* If an AccessKey pair is leaked, the AccessKey pair may be fraudulently used.
*/
@NameInMap("Description")
public String description;
/**
* The risk level of the baseline check item. Valid values:
*
* - high
* - medium
* - low
*
*
* example:
* high
*/
@NameInMap("Level")
public String level;
/**
* The issue that is detected by using the baseline.
*
* example:
* /usr/aksk.txt:LTAI4GBEG5zaqX**********
*/
@NameInMap("Prompt")
public String prompt;
/**
* The ID of the asynchronous request.
*
* example:
* async__c6f3b0b54613383b40bdce593ffe****
*/
@NameInMap("ResultId")
public String resultId;
public static DescribeImageBaselineDetailResponseBodyBaselineDetail build(java.util.Map map) throws Exception {
DescribeImageBaselineDetailResponseBodyBaselineDetail self = new DescribeImageBaselineDetailResponseBodyBaselineDetail();
return TeaModel.build(map, self);
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setAdvice(String advice) {
this.advice = advice;
return this;
}
public String getAdvice() {
return this.advice;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setBaselineClassAlias(String baselineClassAlias) {
this.baselineClassAlias = baselineClassAlias;
return this;
}
public String getBaselineClassAlias() {
return this.baselineClassAlias;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setBaselineItemAlias(String baselineItemAlias) {
this.baselineItemAlias = baselineItemAlias;
return this;
}
public String getBaselineItemAlias() {
return this.baselineItemAlias;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setBaselineItemKey(String baselineItemKey) {
this.baselineItemKey = baselineItemKey;
return this;
}
public String getBaselineItemKey() {
return this.baselineItemKey;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setBaselineNameAlias(String baselineNameAlias) {
this.baselineNameAlias = baselineNameAlias;
return this;
}
public String getBaselineNameAlias() {
return this.baselineNameAlias;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setLevel(String level) {
this.level = level;
return this;
}
public String getLevel() {
return this.level;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setPrompt(String prompt) {
this.prompt = prompt;
return this;
}
public String getPrompt() {
return this.prompt;
}
public DescribeImageBaselineDetailResponseBodyBaselineDetail setResultId(String resultId) {
this.resultId = resultId;
return this;
}
public String getResultId() {
return this.resultId;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy