com.aliyun.cloud_siem20220616.models.UpdateAutomateResponseConfigStatusRequest 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 UpdateAutomateResponseConfigStatusRequest extends TeaModel {
/**
* The IDs of the automatic response rules. The value is a JSON array.
*
* example:
* [123,345]
*/
@NameInMap("Ids")
public String ids;
/**
* Specifies whether the rule is enabled. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
@NameInMap("InUse")
public Boolean inUse;
/**
* The data management center of the threat analysis feature. Specify this parameter based on the region in which your assets reside. Valid values:
*
* - cn-hangzhou: Your assets reside in regions inside 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 UpdateAutomateResponseConfigStatusRequest build(java.util.Map map) throws Exception {
UpdateAutomateResponseConfigStatusRequest self = new UpdateAutomateResponseConfigStatusRequest();
return TeaModel.build(map, self);
}
public UpdateAutomateResponseConfigStatusRequest setIds(String ids) {
this.ids = ids;
return this;
}
public String getIds() {
return this.ids;
}
public UpdateAutomateResponseConfigStatusRequest setInUse(Boolean inUse) {
this.inUse = inUse;
return this;
}
public Boolean getInUse() {
return this.inUse;
}
public UpdateAutomateResponseConfigStatusRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public UpdateAutomateResponseConfigStatusRequest setRoleFor(Long roleFor) {
this.roleFor = roleFor;
return this;
}
public Long getRoleFor() {
return this.roleFor;
}
public UpdateAutomateResponseConfigStatusRequest setRoleType(Integer roleType) {
this.roleType = roleType;
return this;
}
public Integer getRoleType() {
return this.roleType;
}
}