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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeVpcAccessesRequest 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 DescribeVpcAccessesRequest} extends {@link RequestModel}
 *
 * 

DescribeVpcAccessesRequest

*/ public class DescribeVpcAccessesRequest extends Request { @Query @NameInMap("InstanceId") private String instanceId; @Query @NameInMap("Name") private String name; @Query @NameInMap("PageNumber") private Integer pageNumber; @Query @NameInMap("PageSize") private Integer pageSize; @Query @NameInMap("Port") private String port; @Query @NameInMap("SecurityToken") private String securityToken; @Query @NameInMap("VpcAccessId") private String vpcAccessId; @Query @NameInMap("VpcId") private String vpcId; private DescribeVpcAccessesRequest(Builder builder) { super(builder); this.instanceId = builder.instanceId; this.name = builder.name; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.port = builder.port; this.securityToken = builder.securityToken; this.vpcAccessId = builder.vpcAccessId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeVpcAccessesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return name */ public String getName() { return this.name; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return port */ public String getPort() { return this.port; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return vpcAccessId */ public String getVpcAccessId() { return this.vpcAccessId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder { private String instanceId; private String name; private Integer pageNumber; private Integer pageSize; private String port; private String securityToken; private String vpcAccessId; private String vpcId; private Builder() { super(); } private Builder(DescribeVpcAccessesRequest request) { super(request); this.instanceId = request.instanceId; this.name = request.name; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.port = request.port; this.securityToken = request.securityToken; this.vpcAccessId = request.vpcAccessId; this.vpcId = request.vpcId; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * Name. */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; 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; } /** * Port. */ public Builder port(String port) { this.putQueryParameter("Port", port); this.port = port; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * VpcAccessId. */ public Builder vpcAccessId(String vpcAccessId) { this.putQueryParameter("VpcAccessId", vpcAccessId); this.vpcAccessId = vpcAccessId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeVpcAccessesRequest build() { return new DescribeVpcAccessesRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy