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

com.aliyun.sdk.service.cloud_siem20220616.models.DescribeUserBuyStatusResponseBody 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 DescribeUserBuyStatusResponseBody} extends {@link TeaModel}
 *
 * 

DescribeUserBuyStatusResponseBody

*/ public class DescribeUserBuyStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeUserBuyStatusResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeUserBuyStatusResponseBody create() { return builder().build(); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; /** * The data returned. */ public Builder data(Data data) { this.data = data; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeUserBuyStatusResponseBody build() { return new DescribeUserBuyStatusResponseBody(this); } } public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("CanBuy") private Boolean canBuy; @com.aliyun.core.annotation.NameInMap("Capacity") private Integer capacity; @com.aliyun.core.annotation.NameInMap("DurationDays") private Long durationDays; @com.aliyun.core.annotation.NameInMap("EndTime") private Long endTime; @com.aliyun.core.annotation.NameInMap("MainUserId") private Long mainUserId; @com.aliyun.core.annotation.NameInMap("MainUserName") private String mainUserName; @com.aliyun.core.annotation.NameInMap("MasterUserId") private Long masterUserId; @com.aliyun.core.annotation.NameInMap("MasterUserName") private String masterUserName; @com.aliyun.core.annotation.NameInMap("RdOrder") private Integer rdOrder; @com.aliyun.core.annotation.NameInMap("SasInstanceId") private String sasInstanceId; @com.aliyun.core.annotation.NameInMap("SubUserId") private Long subUserId; @com.aliyun.core.annotation.NameInMap("SubUserName") private String subUserName; private Data(Builder builder) { this.canBuy = builder.canBuy; this.capacity = builder.capacity; this.durationDays = builder.durationDays; this.endTime = builder.endTime; this.mainUserId = builder.mainUserId; this.mainUserName = builder.mainUserName; this.masterUserId = builder.masterUserId; this.masterUserName = builder.masterUserName; this.rdOrder = builder.rdOrder; this.sasInstanceId = builder.sasInstanceId; this.subUserId = builder.subUserId; this.subUserName = builder.subUserName; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return canBuy */ public Boolean getCanBuy() { return this.canBuy; } /** * @return capacity */ public Integer getCapacity() { return this.capacity; } /** * @return durationDays */ public Long getDurationDays() { return this.durationDays; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return mainUserId */ public Long getMainUserId() { return this.mainUserId; } /** * @return mainUserName */ public String getMainUserName() { return this.mainUserName; } /** * @return masterUserId */ public Long getMasterUserId() { return this.masterUserId; } /** * @return masterUserName */ public String getMasterUserName() { return this.masterUserName; } /** * @return rdOrder */ public Integer getRdOrder() { return this.rdOrder; } /** * @return sasInstanceId */ public String getSasInstanceId() { return this.sasInstanceId; } /** * @return subUserId */ public Long getSubUserId() { return this.subUserId; } /** * @return subUserName */ public String getSubUserName() { return this.subUserName; } public static final class Builder { private Boolean canBuy; private Integer capacity; private Long durationDays; private Long endTime; private Long mainUserId; private String mainUserName; private Long masterUserId; private String masterUserName; private Integer rdOrder; private String sasInstanceId; private Long subUserId; private String subUserName; /** * Indicates whether the logon Alibaba Cloud account can be used to place orders for the threat analysis feature, such as purchase, upgrade, and specifications change orders. Valid values: *

* * * true * * false */ public Builder canBuy(Boolean canBuy) { this.canBuy = canBuy; return this; } /** * The log storage capacity that is purchased for the threat analysis feature. Unit: GB. */ public Builder capacity(Integer capacity) { this.capacity = capacity; return this; } /** * The number of days before the expiration time of the threat analysis feature. */ public Builder durationDays(Long durationDays) { this.durationDays = durationDays; return this; } /** * The timestamp when the threat analysis feature expires. Unit: milliseconds. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * The ID of the Alibaba Cloud account that is used to purchase the threat analysis feature. */ public Builder mainUserId(Long mainUserId) { this.mainUserId = mainUserId; return this; } /** * The username of the Alibaba Cloud account that is used to purchase the threat analysis feature. */ public Builder mainUserName(String mainUserName) { this.mainUserName = mainUserName; return this; } /** * The ID of the management account of the resource directory. */ public Builder masterUserId(Long masterUserId) { this.masterUserId = masterUserId; return this; } /** * The display name of the management account of the resource directory. */ public Builder masterUserName(String masterUserName) { this.masterUserName = masterUserName; return this; } /** * RdOrder. */ public Builder rdOrder(Integer rdOrder) { this.rdOrder = rdOrder; return this; } /** * The instance ID of Security Center. */ public Builder sasInstanceId(String sasInstanceId) { this.sasInstanceId = sasInstanceId; return this; } /** * The ID of the logon Alibaba Cloud account. */ public Builder subUserId(Long subUserId) { this.subUserId = subUserId; return this; } /** * The username of the logon Alibaba Cloud account. */ public Builder subUserName(String subUserName) { this.subUserName = subUserName; return this; } public Data build() { return new Data(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy