
com.aliyun.sdk.service.cbn20170912.models.DescribeCenInterRegionBandwidthLimitsResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cbn20170912.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeCenInterRegionBandwidthLimitsResponseBody} extends {@link TeaModel}
*
* DescribeCenInterRegionBandwidthLimitsResponseBody
*/
public class DescribeCenInterRegionBandwidthLimitsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CenInterRegionBandwidthLimits")
private CenInterRegionBandwidthLimits cenInterRegionBandwidthLimits;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeCenInterRegionBandwidthLimitsResponseBody(Builder builder) {
this.cenInterRegionBandwidthLimits = builder.cenInterRegionBandwidthLimits;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeCenInterRegionBandwidthLimitsResponseBody create() {
return builder().build();
}
/**
* @return cenInterRegionBandwidthLimits
*/
public CenInterRegionBandwidthLimits getCenInterRegionBandwidthLimits() {
return this.cenInterRegionBandwidthLimits;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private CenInterRegionBandwidthLimits cenInterRegionBandwidthLimits;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* A list of inter-region connections.
*/
public Builder cenInterRegionBandwidthLimits(CenInterRegionBandwidthLimits cenInterRegionBandwidthLimits) {
this.cenInterRegionBandwidthLimits = cenInterRegionBandwidthLimits;
return this;
}
/**
* The page number of the returned page.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries returned per page.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The request ID.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of entries returned.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeCenInterRegionBandwidthLimitsResponseBody build() {
return new DescribeCenInterRegionBandwidthLimitsResponseBody(this);
}
}
public static class CenInterRegionBandwidthLimit extends TeaModel {
@com.aliyun.core.annotation.NameInMap("BandwidthLimit")
private Long bandwidthLimit;
@com.aliyun.core.annotation.NameInMap("BandwidthPackageId")
private String bandwidthPackageId;
@com.aliyun.core.annotation.NameInMap("BandwidthType")
private String bandwidthType;
@com.aliyun.core.annotation.NameInMap("CenId")
private String cenId;
@com.aliyun.core.annotation.NameInMap("GeographicSpanId")
private String geographicSpanId;
@com.aliyun.core.annotation.NameInMap("LocalRegionId")
private String localRegionId;
@com.aliyun.core.annotation.NameInMap("OppositeRegionId")
private String oppositeRegionId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private CenInterRegionBandwidthLimit(Builder builder) {
this.bandwidthLimit = builder.bandwidthLimit;
this.bandwidthPackageId = builder.bandwidthPackageId;
this.bandwidthType = builder.bandwidthType;
this.cenId = builder.cenId;
this.geographicSpanId = builder.geographicSpanId;
this.localRegionId = builder.localRegionId;
this.oppositeRegionId = builder.oppositeRegionId;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static CenInterRegionBandwidthLimit create() {
return builder().build();
}
/**
* @return bandwidthLimit
*/
public Long getBandwidthLimit() {
return this.bandwidthLimit;
}
/**
* @return bandwidthPackageId
*/
public String getBandwidthPackageId() {
return this.bandwidthPackageId;
}
/**
* @return bandwidthType
*/
public String getBandwidthType() {
return this.bandwidthType;
}
/**
* @return cenId
*/
public String getCenId() {
return this.cenId;
}
/**
* @return geographicSpanId
*/
public String getGeographicSpanId() {
return this.geographicSpanId;
}
/**
* @return localRegionId
*/
public String getLocalRegionId() {
return this.localRegionId;
}
/**
* @return oppositeRegionId
*/
public String getOppositeRegionId() {
return this.oppositeRegionId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private Long bandwidthLimit;
private String bandwidthPackageId;
private String bandwidthType;
private String cenId;
private String geographicSpanId;
private String localRegionId;
private String oppositeRegionId;
private String status;
/**
* The maximum bandwidth of the inter-region connection. Unit: Mbit/s.
*/
public Builder bandwidthLimit(Long bandwidthLimit) {
this.bandwidthLimit = bandwidthLimit;
return this;
}
/**
* The ID of the bandwidth plan.
*/
public Builder bandwidthPackageId(String bandwidthPackageId) {
this.bandwidthPackageId = bandwidthPackageId;
return this;
}
/**
* BandwidthType.
*/
public Builder bandwidthType(String bandwidthType) {
this.bandwidthType = bandwidthType;
return this;
}
/**
* The CEN instance ID.
*/
public Builder cenId(String cenId) {
this.cenId = cenId;
return this;
}
/**
* The IDs of the local and peer regions.
*/
public Builder geographicSpanId(String geographicSpanId) {
this.geographicSpanId = geographicSpanId;
return this;
}
/**
* The ID of the local region.
*
*
* You can call the [DescribeChildInstanceRegions](~~132080~~) operation to query the most recent region list.
*/
public Builder localRegionId(String localRegionId) {
this.localRegionId = localRegionId;
return this;
}
/**
* The ID of the peer region.
*/
public Builder oppositeRegionId(String oppositeRegionId) {
this.oppositeRegionId = oppositeRegionId;
return this;
}
/**
* The bandwidth status of the inter-region connection. Valid values:
*
*
* * **Active**
* * **Modifying**
*/
public Builder status(String status) {
this.status = status;
return this;
}
public CenInterRegionBandwidthLimit build() {
return new CenInterRegionBandwidthLimit(this);
}
}
}
public static class CenInterRegionBandwidthLimits extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CenInterRegionBandwidthLimit")
private java.util.List < CenInterRegionBandwidthLimit> cenInterRegionBandwidthLimit;
private CenInterRegionBandwidthLimits(Builder builder) {
this.cenInterRegionBandwidthLimit = builder.cenInterRegionBandwidthLimit;
}
public static Builder builder() {
return new Builder();
}
public static CenInterRegionBandwidthLimits create() {
return builder().build();
}
/**
* @return cenInterRegionBandwidthLimit
*/
public java.util.List < CenInterRegionBandwidthLimit> getCenInterRegionBandwidthLimit() {
return this.cenInterRegionBandwidthLimit;
}
public static final class Builder {
private java.util.List < CenInterRegionBandwidthLimit> cenInterRegionBandwidthLimit;
/**
* CenInterRegionBandwidthLimit.
*/
public Builder cenInterRegionBandwidthLimit(java.util.List < CenInterRegionBandwidthLimit> cenInterRegionBandwidthLimit) {
this.cenInterRegionBandwidthLimit = cenInterRegionBandwidthLimit;
return this;
}
public CenInterRegionBandwidthLimits build() {
return new CenInterRegionBandwidthLimits(this);
}
}
}
}