com.aliyun.sas20181203.models.GetAssetSelectionConfigResponseBody 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 GetAssetSelectionConfigResponseBody extends TeaModel {
/**
* The data returned.
*/
@NameInMap("Data")
public GetAssetSelectionConfigResponseBodyData data;
/**
* The request ID.
*
* example:
* C5936B67-3EDF-53ED-A542-02543972449A
*/
@NameInMap("RequestId")
public String requestId;
public static GetAssetSelectionConfigResponseBody build(java.util.Map map) throws Exception {
GetAssetSelectionConfigResponseBody self = new GetAssetSelectionConfigResponseBody();
return TeaModel.build(map, self);
}
public GetAssetSelectionConfigResponseBody setData(GetAssetSelectionConfigResponseBodyData data) {
this.data = data;
return this;
}
public GetAssetSelectionConfigResponseBodyData getData() {
return this.data;
}
public GetAssetSelectionConfigResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class GetAssetSelectionConfigResponseBodyData extends TeaModel {
/**
* The ID of the current asset selection. It can be used to query and modify the asset that is selected.
*
* example:
* 657c8411-4e89-446c-ab66-d45d1331****
*/
@NameInMap("SelectionKey")
public String selectionKey;
/**
* The dimension based on which the asset is selected. Valid values:
*
* - instance: The asset is selected by server.
* - group: The asset is selected by group.
* - vpc: The asset is selected by VPC.
*
*
* example:
* instance
*/
@NameInMap("TargetType")
public String targetType;
public static GetAssetSelectionConfigResponseBodyData build(java.util.Map map) throws Exception {
GetAssetSelectionConfigResponseBodyData self = new GetAssetSelectionConfigResponseBodyData();
return TeaModel.build(map, self);
}
public GetAssetSelectionConfigResponseBodyData setSelectionKey(String selectionKey) {
this.selectionKey = selectionKey;
return this;
}
public String getSelectionKey() {
return this.selectionKey;
}
public GetAssetSelectionConfigResponseBodyData setTargetType(String targetType) {
this.targetType = targetType;
return this;
}
public String getTargetType() {
return this.targetType;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy