com.aliyun.sdk.service.ens20171110.models.DescribeEpnInstancesResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-ens20171110 Show documentation
// 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 DescribeEpnInstancesResponseBody} extends {@link TeaModel}
*
* DescribeEpnInstancesResponseBody
*/
public class DescribeEpnInstancesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EPNInstances")
private EPNInstances EPNInstances;
@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 DescribeEpnInstancesResponseBody(Builder builder) {
this.EPNInstances = builder.EPNInstances;
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 DescribeEpnInstancesResponseBody create() {
return builder().build();
}
/**
* @return EPNInstances
*/
public EPNInstances getEPNInstances() {
return this.EPNInstances;
}
/**
* @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 EPNInstances EPNInstances;
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* Details of EPN instances.
*/
public Builder EPNInstances(EPNInstances EPNInstances) {
this.EPNInstances = EPNInstances;
return this;
}
/**
* The page number.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
* example:
* 40
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The request ID.
*
* example:
* A1707FC0-430C-423A-B624-284046B20399
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of pages returned.
*
* example:
* 1
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeEpnInstancesResponseBody build() {
return new DescribeEpnInstancesResponseBody(this);
}
}
/**
*
* {@link DescribeEpnInstancesResponseBody} extends {@link TeaModel}
*
* DescribeEpnInstancesResponseBody
*/
public static class EPNInstance extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("EPNInstanceId")
private String EPNInstanceId;
@com.aliyun.core.annotation.NameInMap("EPNInstanceName")
private String EPNInstanceName;
@com.aliyun.core.annotation.NameInMap("EPNInstanceType")
private String EPNInstanceType;
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.NameInMap("InternetMaxBandwidthOut")
private Integer internetMaxBandwidthOut;
@com.aliyun.core.annotation.NameInMap("ModifyTime")
private String modifyTime;
@com.aliyun.core.annotation.NameInMap("NetworkingModel")
private String networkingModel;
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private EPNInstance(Builder builder) {
this.creationTime = builder.creationTime;
this.EPNInstanceId = builder.EPNInstanceId;
this.EPNInstanceName = builder.EPNInstanceName;
this.EPNInstanceType = builder.EPNInstanceType;
this.endTime = builder.endTime;
this.internetMaxBandwidthOut = builder.internetMaxBandwidthOut;
this.modifyTime = builder.modifyTime;
this.networkingModel = builder.networkingModel;
this.startTime = builder.startTime;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static EPNInstance create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return EPNInstanceId
*/
public String getEPNInstanceId() {
return this.EPNInstanceId;
}
/**
* @return EPNInstanceName
*/
public String getEPNInstanceName() {
return this.EPNInstanceName;
}
/**
* @return EPNInstanceType
*/
public String getEPNInstanceType() {
return this.EPNInstanceType;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return internetMaxBandwidthOut
*/
public Integer getInternetMaxBandwidthOut() {
return this.internetMaxBandwidthOut;
}
/**
* @return modifyTime
*/
public String getModifyTime() {
return this.modifyTime;
}
/**
* @return networkingModel
*/
public String getNetworkingModel() {
return this.networkingModel;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String creationTime;
private String EPNInstanceId;
private String EPNInstanceName;
private String EPNInstanceType;
private String endTime;
private Integer internetMaxBandwidthOut;
private String modifyTime;
private String networkingModel;
private String startTime;
private String status;
/**
* The time when the instance was created. The time is displayed in UTC.
*
* example:
* 2019-11-01T06:08:46Z
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The ID of the EPN instance.
*
* example:
* epn****
*/
public Builder EPNInstanceId(String EPNInstanceId) {
this.EPNInstanceId = EPNInstanceId;
return this;
}
/**
* The name of the EPN instance.
*
* example:
* ens_test_epn
*/
public Builder EPNInstanceName(String EPNInstanceName) {
this.EPNInstanceName = EPNInstanceName;
return this;
}
/**
* Set the value to EdgeToEdge.
*
* example:
* EdgeToEdge
*/
public Builder EPNInstanceType(String EPNInstanceType) {
this.EPNInstanceType = EPNInstanceType;
return this;
}
/**
* The end of the time range during which the data was queried. The time is displayed in UTC.
*
* example:
* 2019-11-01T06:08:46Z
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* The inbound bandwidth. Unit: Mbit/s.
*
* example:
* 40
*/
public Builder internetMaxBandwidthOut(Integer internetMaxBandwidthOut) {
this.internetMaxBandwidthOut = internetMaxBandwidthOut;
return this;
}
/**
* The time when the instance was last modified. The time is displayed in UTC.
*
* example:
* 2019-11-01T06:08:46Z
*/
public Builder modifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
/**
* The networking mode. Valid values:
*
* - SpeedUp: intelligent acceleration network (Internet)
* - Connection: internal network
* - SpeedUpAndConnection: intelligent acceleration network and internal network
*
*
* example:
* SpeedUp
*/
public Builder networkingModel(String networkingModel) {
this.networkingModel = networkingModel;
return this;
}
/**
* The beginning of the time range during which the data was queried. The time is displayed in UTC.
*
* example:
* 2019-11-01T06:08:46Z
*/
public Builder startTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* The status of the instance. Valid values:
*
* - Running
* - Excuting
* - Stopped
*
*
* example:
* Running
*/
public Builder status(String status) {
this.status = status;
return this;
}
public EPNInstance build() {
return new EPNInstance(this);
}
}
}
/**
*
* {@link DescribeEpnInstancesResponseBody} extends {@link TeaModel}
*
* DescribeEpnInstancesResponseBody
*/
public static class EPNInstances extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EPNInstance")
private java.util.List EPNInstance;
private EPNInstances(Builder builder) {
this.EPNInstance = builder.EPNInstance;
}
public static Builder builder() {
return new Builder();
}
public static EPNInstances create() {
return builder().build();
}
/**
* @return EPNInstance
*/
public java.util.List getEPNInstance() {
return this.EPNInstance;
}
public static final class Builder {
private java.util.List EPNInstance;
/**
* EPNInstance.
*/
public Builder EPNInstance(java.util.List EPNInstance) {
this.EPNInstance = EPNInstance;
return this;
}
public EPNInstances build() {
return new EPNInstances(this);
}
}
}
}