com.aliyun.sdk.service.cloud_siem20220616.models.DescribeUserBuyStatusRequest 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 DescribeUserBuyStatusRequest} extends {@link RequestModel}
*
* DescribeUserBuyStatusRequest
*/
public class DescribeUserBuyStatusRequest extends Request {
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("SubUserId")
private Long subUserId;
private DescribeUserBuyStatusRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.subUserId = builder.subUserId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeUserBuyStatusRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return subUserId
*/
public Long getSubUserId() {
return this.subUserId;
}
public static final class Builder extends Request.Builder {
private String regionId;
private Long subUserId;
private Builder() {
super();
}
private Builder(DescribeUserBuyStatusRequest request) {
super(request);
this.regionId = request.regionId;
this.subUserId = request.subUserId;
}
/**
* 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;
}
/**
* The ID of the Alibaba Cloud account.
*/
public Builder subUserId(Long subUserId) {
this.putBodyParameter("SubUserId", subUserId);
this.subUserId = subUserId;
return this;
}
@Override
public DescribeUserBuyStatusRequest build() {
return new DescribeUserBuyStatusRequest(this);
}
}
}