com.aliyun.sas20181203.models.ListInstanceRiskLevelsResponseBody 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 ListInstanceRiskLevelsResponseBody extends TeaModel {
/**
* The risk levels of instances.
*/
@NameInMap("InstanceRiskLevels")
public java.util.List instanceRiskLevels;
/**
* The request ID.
*
* example:
* F5CF78A7-30AA-59DB-847F-13EE3AE7****
*/
@NameInMap("RequestId")
public String requestId;
public static ListInstanceRiskLevelsResponseBody build(java.util.Map map) throws Exception {
ListInstanceRiskLevelsResponseBody self = new ListInstanceRiskLevelsResponseBody();
return TeaModel.build(map, self);
}
public ListInstanceRiskLevelsResponseBody setInstanceRiskLevels(java.util.List instanceRiskLevels) {
this.instanceRiskLevels = instanceRiskLevels;
return this;
}
public java.util.List getInstanceRiskLevels() {
return this.instanceRiskLevels;
}
public ListInstanceRiskLevelsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class ListInstanceRiskLevelsResponseBodyInstanceRiskLevels extends TeaModel {
/**
* The ID of the server.
*
* example:
* i-m5efigezp50l2cmb****
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The risk level. Valid values:
*
* - high
* - medium
* - low
* - none
*
*
* example:
* high
*/
@NameInMap("Level")
public String level;
/**
* The UUID of the server for which you want to modify the defense rule. You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
*
* example:
* f2d6e901-1004-4ca8-9dae-53ec04a92765
*/
@NameInMap("Uuid")
public String uuid;
public static ListInstanceRiskLevelsResponseBodyInstanceRiskLevels build(java.util.Map map) throws Exception {
ListInstanceRiskLevelsResponseBodyInstanceRiskLevels self = new ListInstanceRiskLevelsResponseBodyInstanceRiskLevels();
return TeaModel.build(map, self);
}
public ListInstanceRiskLevelsResponseBodyInstanceRiskLevels setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public ListInstanceRiskLevelsResponseBodyInstanceRiskLevels setLevel(String level) {
this.level = level;
return this;
}
public String getLevel() {
return this.level;
}
public ListInstanceRiskLevelsResponseBodyInstanceRiskLevels setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy