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

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

There is a newer version: 3.0.23
Show newest version
// 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 DescribeApisByTrafficControlRequest} extends {@link RequestModel}
 *
 * 

DescribeApisByTrafficControlRequest

*/ public class DescribeApisByTrafficControlRequest extends Request { @Query @NameInMap("PageNumber") private Integer pageNumber; @Query @NameInMap("PageSize") @Validation(maximum = 100, minimum = 1) private Integer pageSize; @Query @NameInMap("SecurityToken") private String securityToken; @Query @NameInMap("TrafficControlId") @Validation(required = true) private String trafficControlId; private DescribeApisByTrafficControlRequest(Builder builder) { super(builder); this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.trafficControlId = builder.trafficControlId; } public static Builder builder() { return new Builder(); } public static DescribeApisByTrafficControlRequest 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 securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return trafficControlId */ public String getTrafficControlId() { return this.trafficControlId; } public static final class Builder extends Request.Builder { private Integer pageNumber; private Integer pageSize; private String securityToken; private String trafficControlId; private Builder() { super(); } private Builder(DescribeApisByTrafficControlRequest request) { super(request); this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.trafficControlId = request.trafficControlId; } /** * The ID of the request. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * The page number of the returned 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 number of the page to return. Pages start from page 1. Default value: 1. */ public Builder trafficControlId(String trafficControlId) { this.putQueryParameter("TrafficControlId", trafficControlId); this.trafficControlId = trafficControlId; return this; } @Override public DescribeApisByTrafficControlRequest build() { return new DescribeApisByTrafficControlRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy