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

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

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

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

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

DescribeApiIpControlsRequest

*/ public class DescribeApiIpControlsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiIds") private String apiIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GroupId") @com.aliyun.core.annotation.Validation(required = true) private String groupId; @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") @com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1) 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("StageName") @com.aliyun.core.annotation.Validation(required = true) private String stageName; private DescribeApiIpControlsRequest(Builder builder) { super(builder); this.apiIds = builder.apiIds; this.groupId = builder.groupId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.stageName = builder.stageName; } public static Builder builder() { return new Builder(); } public static DescribeApiIpControlsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiIds */ public String getApiIds() { return this.apiIds; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @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 stageName */ public String getStageName() { return this.stageName; } public static final class Builder extends Request.Builder { private String apiIds; private String groupId; private Integer pageNumber; private Integer pageSize; private String securityToken; private String stageName; private Builder() { super(); } private Builder(DescribeApiIpControlsRequest request) { super(request); this.apiIds = request.apiIds; this.groupId = request.groupId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.stageName = request.stageName; } /** *

The IDs of APIs. Separate multiple API IDs with commas (,). A maximum of 100 API IDs can be entered.

* * example: *

123,234

*/ public Builder apiIds(String apiIds) { this.putQueryParameter("ApiIds", apiIds); this.apiIds = apiIds; return this; } /** *

The ID of the API group.

*

This parameter is required.

* * example: *

0009db9c828549768a200320714b8930

*/ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** *

The number of the page to return. Pages start from page 1. Default value: 1.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** *

The number of entries to return on each page. Maximum value: 100. Default value: 10.

* * example: *

10

*/ 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 runtime environment. Valid values:

*
    *
  • RELEASE
  • *
  • TEST
  • *
*

This parameter is required.

* * example: *

test

*/ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } @Override public DescribeApiIpControlsRequest build() { return new DescribeApiIpControlsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy