com.aliyun.sdk.service.cloudapi20160714.models.DescribeDatasetListRequest 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 DescribeDatasetListRequest} extends {@link RequestModel}
*
* DescribeDatasetListRequest
*/
public class DescribeDatasetListRequest extends Request {
@Query
@NameInMap("DatasetIds")
private String datasetIds;
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
private Integer pageSize;
@Query
@NameInMap("SecurityToken")
private String securityToken;
private DescribeDatasetListRequest(Builder builder) {
super(builder);
this.datasetIds = builder.datasetIds;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.securityToken = builder.securityToken;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDatasetListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return datasetIds
*/
public String getDatasetIds() {
return this.datasetIds;
}
/**
* @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 String datasetIds;
private Integer pageNumber;
private Integer pageSize;
private String securityToken;
private Builder() {
super();
}
private Builder(DescribeDatasetListRequest request) {
super(request);
this.datasetIds = request.datasetIds;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.securityToken = request.securityToken;
}
/**
* DatasetIds.
*/
public Builder datasetIds(String datasetIds) {
this.putQueryParameter("DatasetIds", datasetIds);
this.datasetIds = datasetIds;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
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 DescribeDatasetListRequest build() {
return new DescribeDatasetListRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy