com.aliyun.sdk.service.cloudapi20160714.models.DescribePluginsRequest 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 DescribePluginsRequest} extends {@link RequestModel}
*
* DescribePluginsRequest
*/
public class DescribePluginsRequest extends Request {
@Query
@NameInMap("PageNumber")
private Integer pageNumber;
@Query
@NameInMap("PageSize")
@Validation(maximum = 100, minimum = 1)
private Integer pageSize;
@Query
@NameInMap("PluginId")
private String pluginId;
@Query
@NameInMap("PluginName")
private String pluginName;
@Query
@NameInMap("PluginType")
private String pluginType;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("Tag")
private java.util.List < Tag> tag;
private DescribePluginsRequest(Builder builder) {
super(builder);
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.pluginId = builder.pluginId;
this.pluginName = builder.pluginName;
this.pluginType = builder.pluginType;
this.securityToken = builder.securityToken;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static DescribePluginsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return pluginId
*/
public String getPluginId() {
return this.pluginId;
}
/**
* @return pluginName
*/
public String getPluginName() {
return this.pluginName;
}
/**
* @return pluginType
*/
public String getPluginType() {
return this.pluginType;
}
/**
* @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 Integer pageNumber;
private Integer pageSize;
private String pluginId;
private String pluginName;
private String pluginType;
private String securityToken;
private java.util.List < Tag> tag;
private Builder() {
super();
}
private Builder(DescribePluginsRequest request) {
super(request);
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.pluginId = request.pluginId;
this.pluginName = request.pluginName;
this.pluginType = request.pluginType;
this.securityToken = request.securityToken;
this.tag = request.tag;
}
/**
* 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;
}
/**
* PluginId.
*/
public Builder pluginId(String pluginId) {
this.putQueryParameter("PluginId", pluginId);
this.pluginId = pluginId;
return this;
}
/**
* PluginName.
*/
public Builder pluginName(String pluginName) {
this.putQueryParameter("PluginName", pluginName);
this.pluginName = pluginName;
return this;
}
/**
* PluginType.
*/
public Builder pluginType(String pluginType) {
this.putQueryParameter("PluginType", pluginType);
this.pluginType = pluginType;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* Tag.
*/
public Builder tag(java.util.List < Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public DescribePluginsRequest build() {
return new DescribePluginsRequest(this);
}
}
public static class Tag extends TeaModel {
@NameInMap("Key")
private String key;
@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;
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy