com.aliyun.sdk.service.cloud_siem20220616.models.DeleteUserRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
Show all versions of alibabacloud-cloud_siem20220616 Show documentation
Alibaba Cloud cloud-siem (20220616) Async SDK for Java
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 DeleteUserRequest} extends {@link RequestModel}
*
* DeleteUserRequest
*/
public class DeleteUserRequest extends Request {
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AddedUserId")
@com.aliyun.core.annotation.Validation(required = true)
private Long addedUserId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
private DeleteUserRequest(Builder builder) {
super(builder);
this.addedUserId = builder.addedUserId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteUserRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return addedUserId
*/
public Long getAddedUserId() {
return this.addedUserId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder {
private Long addedUserId;
private String regionId;
private Builder() {
super();
}
private Builder(DeleteUserRequest request) {
super(request);
this.addedUserId = request.addedUserId;
this.regionId = request.regionId;
}
/**
* The ID of the Alibaba Cloud account.
*/
public Builder addedUserId(Long addedUserId) {
this.putBodyParameter("AddedUserId", addedUserId);
this.addedUserId = addedUserId;
return this;
}
/**
* 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.
*/
public Builder regionId(String regionId) {
this.putBodyParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public DeleteUserRequest build() {
return new DeleteUserRequest(this);
}
}
}