
com.aliyun.sdk.service.polardb20170801.models.DescribeActivationCodeDetailsRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeActivationCodeDetailsRequest} extends {@link RequestModel}
*
* DescribeActivationCodeDetailsRequest
*/
public class DescribeActivationCodeDetailsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ActivationCodeId")
private Integer activationCodeId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AliyunOrderId")
@com.aliyun.core.annotation.Validation(required = true)
private String aliyunOrderId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DescribeActivationCodeDetailsRequest(Builder builder) {
super(builder);
this.activationCodeId = builder.activationCodeId;
this.aliyunOrderId = builder.aliyunOrderId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeActivationCodeDetailsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return activationCodeId
*/
public Integer getActivationCodeId() {
return this.activationCodeId;
}
/**
* @return aliyunOrderId
*/
public String getAliyunOrderId() {
return this.aliyunOrderId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder {
private Integer activationCodeId;
private String aliyunOrderId;
private String ownerAccount;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DescribeActivationCodeDetailsRequest request) {
super(request);
this.activationCodeId = request.activationCodeId;
this.aliyunOrderId = request.aliyunOrderId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* The ID of the activation code.
*
* example:
* 123
*/
public Builder activationCodeId(Integer activationCodeId) {
this.putQueryParameter("ActivationCodeId", activationCodeId);
this.activationCodeId = activationCodeId;
return this;
}
/**
* The Alibaba Cloud order ID (including the virtual order ID).
* This parameter is required.
*
* example:
* 2233****445566
*/
public Builder aliyunOrderId(String aliyunOrderId) {
this.putQueryParameter("AliyunOrderId", aliyunOrderId);
this.aliyunOrderId = aliyunOrderId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DescribeActivationCodeDetailsRequest build() {
return new DescribeActivationCodeDetailsRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy