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

com.aliyun.sdk.service.milvus20231012.models.ListInstancesRequest Maven / Gradle / Ivy

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

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

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

ListInstancesRequest

*/ public class ListInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") @com.aliyun.core.annotation.Validation(maximum = 10000, minimum = 1) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 100000, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private ListInstancesRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static ListInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder { private String clusterId; private String clusterName; private Integer pageNumber; private Integer pageSize; private String regionId; private Builder() { super(); } private Builder(ListInstancesRequest request) { super(request); this.clusterId = request.clusterId; this.clusterName = request.clusterName; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; } /** * ClusterId. */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * ClusterName. */ public Builder clusterName(String clusterName) { this.putQueryParameter("ClusterName", clusterName); this.clusterName = clusterName; 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; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public ListInstancesRequest build() { return new ListInstancesRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy