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

com.aliyun.sdk.service.httpdns20160201.models.DescribeDomainsRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.httpdns20160201.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeDomainsRequest} extends {@link RequestModel}
 *
 * 

DescribeDomainsRequest

*/ public class DescribeDomainsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountId") private String accountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1) private Long pageSize; private DescribeDomainsRequest(Builder builder) { super(builder); this.accountId = builder.accountId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static DescribeDomainsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder { private String accountId; private Long pageNumber; private Long pageSize; private Builder() { super(); } private Builder(DescribeDomainsRequest request) { super(request); this.accountId = request.accountId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; } /** * AccountId. */ public Builder accountId(String accountId) { this.putQueryParameter("AccountId", accountId); this.accountId = accountId; return this; } /** * PageNumber. */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public DescribeDomainsRequest build() { return new DescribeDomainsRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy