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

com.aliyun.sdk.service.ens20171110.models.DescribeSecondaryPublicIpAddressesRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 DescribeSecondaryPublicIpAddressesRequest} extends {@link RequestModel}
 *
 * 

DescribeSecondaryPublicIpAddressesRequest

*/ public class DescribeSecondaryPublicIpAddressesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EnsRegionId") private String ensRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Isp") private String isp; @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) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecondaryPublicIpAddress") private String secondaryPublicIpAddress; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecondaryPublicIpId") private String secondaryPublicIpId; private DescribeSecondaryPublicIpAddressesRequest(Builder builder) { super(builder); this.ensRegionId = builder.ensRegionId; this.isp = builder.isp; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.secondaryPublicIpAddress = builder.secondaryPublicIpAddress; this.secondaryPublicIpId = builder.secondaryPublicIpId; } public static Builder builder() { return new Builder(); } public static DescribeSecondaryPublicIpAddressesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ensRegionId */ public String getEnsRegionId() { return this.ensRegionId; } /** * @return isp */ public String getIsp() { return this.isp; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return secondaryPublicIpAddress */ public String getSecondaryPublicIpAddress() { return this.secondaryPublicIpAddress; } /** * @return secondaryPublicIpId */ public String getSecondaryPublicIpId() { return this.secondaryPublicIpId; } public static final class Builder extends Request.Builder { private String ensRegionId; private String isp; private Integer pageNumber; private Integer pageSize; private String secondaryPublicIpAddress; private String secondaryPublicIpId; private Builder() { super(); } private Builder(DescribeSecondaryPublicIpAddressesRequest request) { super(request); this.ensRegionId = request.ensRegionId; this.isp = request.isp; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.secondaryPublicIpAddress = request.secondaryPublicIpAddress; this.secondaryPublicIpId = request.secondaryPublicIpId; } /** *

The ID of the edge node.

* * example: *

cn-hangzhou-44

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

The Internet service provider. Valid values:

*
    *
  • cmcc: China Mobile.
  • *
  • unicom: China Unicom.
  • *
  • telecom: China Telecom.
  • *
* * example: *

unicom

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

The number of the page to return. 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. Valid values: 1 to 100. Default value: 10.

* * example: *

50

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

The secondary IP address.

* * example: *

12.XXX.XXX.4

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

The ID of the secondary public IP address.

* * example: *

spi-5wys0pio93c9f9ukzj2f2fwyr

*/ public Builder secondaryPublicIpId(String secondaryPublicIpId) { this.putQueryParameter("SecondaryPublicIpId", secondaryPublicIpId); this.secondaryPublicIpId = secondaryPublicIpId; return this; } @Override public DescribeSecondaryPublicIpAddressesRequest build() { return new DescribeSecondaryPublicIpAddressesRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy