com.aliyun.cloud_siem20220616.models.DescribeCustomizeRuleTestRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cloud_siem20220616.models;
import com.aliyun.tea.*;
public class DescribeCustomizeRuleTestRequest extends TeaModel {
/**
* The ID of the rule.
*
* example:
* 123456789
*/
@NameInMap("Id")
public Long id;
/**
* 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.
*
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The ID of the account that you switch from the management account.
*
* example:
* 113091674488****
*/
@NameInMap("RoleFor")
public Long roleFor;
/**
* The type of the view. Valid values:
*
* - 0: the current Alibaba Cloud account
* - 1: the global account
*
*
* example:
* 1
*/
@NameInMap("RoleType")
public Integer roleType;
public static DescribeCustomizeRuleTestRequest build(java.util.Map map) throws Exception {
DescribeCustomizeRuleTestRequest self = new DescribeCustomizeRuleTestRequest();
return TeaModel.build(map, self);
}
public DescribeCustomizeRuleTestRequest setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public DescribeCustomizeRuleTestRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeCustomizeRuleTestRequest setRoleFor(Long roleFor) {
this.roleFor = roleFor;
return this;
}
public Long getRoleFor() {
return this.roleFor;
}
public DescribeCustomizeRuleTestRequest setRoleType(Integer roleType) {
this.roleType = roleType;
return this;
}
public Integer getRoleType() {
return this.roleType;
}
}