com.aliyun.sdk.service.cloud_siem20220616.models.DescribeEventDisposeRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
// 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 DescribeEventDisposeRequest} extends {@link RequestModel}
*
* DescribeEventDisposeRequest
*/
public class DescribeEventDisposeRequest extends Request {
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("CurrentPage")
private Integer currentPage;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("IncidentUuid")
private String incidentUuid;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 500, minimum = 1)
private Integer pageSize;
@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;
private DescribeEventDisposeRequest(Builder builder) {
super(builder);
this.currentPage = builder.currentPage;
this.incidentUuid = builder.incidentUuid;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.roleFor = builder.roleFor;
this.roleType = builder.roleType;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEventDisposeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return currentPage
*/
public Integer getCurrentPage() {
return this.currentPage;
}
/**
* @return incidentUuid
*/
public String getIncidentUuid() {
return this.incidentUuid;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return roleFor
*/
public Long getRoleFor() {
return this.roleFor;
}
/**
* @return roleType
*/
public Integer getRoleType() {
return this.roleType;
}
public static final class Builder extends Request.Builder {
private Integer currentPage;
private String incidentUuid;
private Integer pageSize;
private String regionId;
private Long roleFor;
private Integer roleType;
private Builder() {
super();
}
private Builder(DescribeEventDisposeRequest request) {
super(request);
this.currentPage = request.currentPage;
this.incidentUuid = request.incidentUuid;
this.pageSize = request.pageSize;
this.regionId = request.regionId;
this.roleFor = request.roleFor;
this.roleType = request.roleType;
}
/**
* The page number. Pages start from page 1.
*/
public Builder currentPage(Integer currentPage) {
this.putBodyParameter("CurrentPage", currentPage);
this.currentPage = currentPage;
return this;
}
/**
* The UUID of the event.
*/
public Builder incidentUuid(String incidentUuid) {
this.putBodyParameter("IncidentUuid", incidentUuid);
this.incidentUuid = incidentUuid;
return this;
}
/**
* The number of entries per page. Maximum value: 500.
*/
public Builder pageSize(Integer pageSize) {
this.putBodyParameter("PageSize", pageSize);
this.pageSize = pageSize;
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;
}
@Override
public DescribeEventDisposeRequest build() {
return new DescribeEventDisposeRequest(this);
}
}
}