com.aliyun.sdk.service.cloudapi20160714.models.DescribeAppsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Show all versions of alibabacloud-cloudapi20160714 Show documentation
Alibaba Cloud CloudAPI (20160714) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeAppsRequest} extends {@link RequestModel}
*
* DescribeAppsRequest
*/
public class DescribeAppsRequest extends Request {
@Query
@NameInMap("AppId")
private Long appId;
@Query
@NameInMap("AppOwner")
private Long appOwner;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
@Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeAppsRequest(Builder builder) {
super(builder);
this.appId = builder.appId;
this.appOwner = builder.appOwner;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeAppsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appId
*/
public Long getAppId() {
return this.appId;
}
/**
* @return appOwner
*/
public Long getAppOwner() {
return this.appOwner;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
public static final class Builder extends Request.Builder {
private Long appId;
private Long appOwner;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeAppsRequest request) {
super(request);
this.appId = request.appId;
this.appOwner = request.appOwner;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* The number of the page to return. Pages start from page 1. Default value: 1.
*/
public Builder appId(Long appId) {
this.putQueryParameter("AppId", appId);
this.appId = appId;
return this;
}
/**
* The number of entries to return on each page. Maximum value: 100. Default value: 10.
*/
public Builder appOwner(Long appOwner) {
this.putQueryParameter("AppOwner", appOwner);
this.appOwner = appOwner;
return this;
}
/**
* The page number of the returned page.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The ID of the request.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
@Override
public DescribeAppsRequest build() {
return new DescribeAppsRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy