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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeDatasetListRequest Maven / Gradle / Ivy

There is a newer version: 3.0.24
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

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 { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DatasetIds") private String datasetIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List < Tag> tag; private DescribeDatasetListRequest(Builder builder) { super(builder); this.datasetIds = builder.datasetIds; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.tag = builder.tag; } 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; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder { private String datasetIds; private Integer pageNumber; private Integer pageSize; private String securityToken; private java.util.List < Tag> tag; 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; this.tag = request.tag; } /** * The IDs of the datasets. */ public Builder datasetIds(String datasetIds) { this.putQueryParameter("DatasetIds", datasetIds); this.datasetIds = datasetIds; return this; } /** * The number of the page to return. Pages start from page 1. Default value: 1. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * The number of entries returned per page. */ 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; } /** * The tag of objects that match the rule. You can specify multiple tags. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeDatasetListRequest build() { return new DescribeDatasetListRequest(this); } } public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * The tag key. */ public Builder key(String key) { this.key = key; return this; } /** * The tag value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy