All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cloud_siem20220616.models.PostCustomizeRuleTestRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloud_siem20220616.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link PostCustomizeRuleTestRequest} extends {@link RequestModel}
 *
 * 

PostCustomizeRuleTestRequest

*/ public class PostCustomizeRuleTestRequest extends Request { @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("Id") private Long id; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RoleFor") private Long roleFor; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("RoleType") private Integer roleType; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("SimulatedData") private String simulatedData; @com.aliyun.core.annotation.Body @com.aliyun.core.annotation.NameInMap("TestType") private String testType; private PostCustomizeRuleTestRequest(Builder builder) { super(builder); this.id = builder.id; this.regionId = builder.regionId; this.roleFor = builder.roleFor; this.roleType = builder.roleType; this.simulatedData = builder.simulatedData; this.testType = builder.testType; } public static Builder builder() { return new Builder(); } public static PostCustomizeRuleTestRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return id */ public Long getId() { return this.id; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return roleFor */ public Long getRoleFor() { return this.roleFor; } /** * @return roleType */ public Integer getRoleType() { return this.roleType; } /** * @return simulatedData */ public String getSimulatedData() { return this.simulatedData; } /** * @return testType */ public String getTestType() { return this.testType; } public static final class Builder extends Request.Builder { private Long id; private String regionId; private Long roleFor; private Integer roleType; private String simulatedData; private String testType; private Builder() { super(); } private Builder(PostCustomizeRuleTestRequest request) { super(request); this.id = request.id; this.regionId = request.regionId; this.roleFor = request.roleFor; this.roleType = request.roleType; this.simulatedData = request.simulatedData; this.testType = request.testType; } /** * The ID of the rule. */ public Builder id(Long id) { this.putBodyParameter("Id", id); this.id = id; return this; } /** * 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. */ public Builder regionId(String regionId) { this.putBodyParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * The ID of the account that you switch from the management account. */ public Builder roleFor(Long roleFor) { this.putBodyParameter("RoleFor", roleFor); this.roleFor = roleFor; return this; } /** * The type of the view. Valid values: *

* - 0: the current Alibaba Cloud account * - 1: the global account */ public Builder roleType(Integer roleType) { this.putBodyParameter("RoleType", roleType); this.roleType = roleType; return this; } /** * The simulation data for the test. This parameter is available only when TestType is set to simulate. */ public Builder simulatedData(String simulatedData) { this.putBodyParameter("SimulatedData", simulatedData); this.simulatedData = simulatedData; return this; } /** * The test type. Valid values: *

* * * simulate: simulation data test * * business: business data test */ public Builder testType(String testType) { this.putBodyParameter("TestType", testType); this.testType = testType; return this; } @Override public PostCustomizeRuleTestRequest build() { return new PostCustomizeRuleTestRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy