com.aliyun.sdk.service.ens20171110.models.DescribeEnsRouteEntryListResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
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 DescribeEnsRouteEntryListResponseBody} extends {@link TeaModel}
*
* DescribeEnsRouteEntryListResponseBody
*/
public class DescribeEnsRouteEntryListResponseBody extends TeaModel {
@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("RouteEntrys")
private java.util.List routeEntrys;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeEnsRouteEntryListResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.routeEntrys = builder.routeEntrys;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEnsRouteEntryListResponseBody create() {
return builder().build();
}
/**
* @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 routeEntrys
*/
public java.util.List getRouteEntrys() {
return this.routeEntrys;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private java.util.List routeEntrys;
private Integer totalCount;
/**
* The page number of the returned page.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The information about the route.
*/
public Builder routeEntrys(java.util.List routeEntrys) {
this.routeEntrys = routeEntrys;
return this;
}
/**
* The number of returned entries.
*
* example:
* 7
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeEnsRouteEntryListResponseBody build() {
return new DescribeEnsRouteEntryListResponseBody(this);
}
}
/**
*
* {@link DescribeEnsRouteEntryListResponseBody} extends {@link TeaModel}
*
* DescribeEnsRouteEntryListResponseBody
*/
public static class NextHops extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextHopId")
private String nextHopId;
@com.aliyun.core.annotation.NameInMap("NextHopType")
private String nextHopType;
private NextHops(Builder builder) {
this.nextHopId = builder.nextHopId;
this.nextHopType = builder.nextHopType;
}
public static Builder builder() {
return new Builder();
}
public static NextHops create() {
return builder().build();
}
/**
* @return nextHopId
*/
public String getNextHopId() {
return this.nextHopId;
}
/**
* @return nextHopType
*/
public String getNextHopType() {
return this.nextHopType;
}
public static final class Builder {
private String nextHopId;
private String nextHopType;
/**
* The ID of the next hop.
*
* example:
* i-bp1111yup9991890woxq
*/
public Builder nextHopId(String nextHopId) {
this.nextHopId = nextHopId;
return this;
}
/**
* The type of the next hop. Valid values:
*
* example:
* Instance
*/
public Builder nextHopType(String nextHopType) {
this.nextHopType = nextHopType;
return this;
}
public NextHops build() {
return new NextHops(this);
}
}
}
/**
*
* {@link DescribeEnsRouteEntryListResponseBody} extends {@link TeaModel}
*
* DescribeEnsRouteEntryListResponseBody
*/
public static class RouteEntrys extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("DestinationCidrBlock")
private String destinationCidrBlock;
@com.aliyun.core.annotation.NameInMap("NextHops")
private java.util.List nextHops;
@com.aliyun.core.annotation.NameInMap("RouteEntryId")
private String routeEntryId;
@com.aliyun.core.annotation.NameInMap("RouteEntryName")
private String routeEntryName;
@com.aliyun.core.annotation.NameInMap("RouteTableId")
private String routeTableId;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
@com.aliyun.core.annotation.NameInMap("Type")
private String type;
private RouteEntrys(Builder builder) {
this.description = builder.description;
this.destinationCidrBlock = builder.destinationCidrBlock;
this.nextHops = builder.nextHops;
this.routeEntryId = builder.routeEntryId;
this.routeEntryName = builder.routeEntryName;
this.routeTableId = builder.routeTableId;
this.status = builder.status;
this.type = builder.type;
}
public static Builder builder() {
return new Builder();
}
public static RouteEntrys create() {
return builder().build();
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return destinationCidrBlock
*/
public String getDestinationCidrBlock() {
return this.destinationCidrBlock;
}
/**
* @return nextHops
*/
public java.util.List getNextHops() {
return this.nextHops;
}
/**
* @return routeEntryId
*/
public String getRouteEntryId() {
return this.routeEntryId;
}
/**
* @return routeEntryName
*/
public String getRouteEntryName() {
return this.routeEntryName;
}
/**
* @return routeTableId
*/
public String getRouteTableId() {
return this.routeTableId;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
/**
* @return type
*/
public String getType() {
return this.type;
}
public static final class Builder {
private String description;
private String destinationCidrBlock;
private java.util.List nextHops;
private String routeEntryId;
private String routeEntryName;
private String routeTableId;
private String status;
private String type;
/**
* Enter a description for the route.
*
* example:
* test
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* The destination CIDR block of the route.
*
* example:
* 101.0.45.0/24
*/
public Builder destinationCidrBlock(String destinationCidrBlock) {
this.destinationCidrBlock = destinationCidrBlock;
return this;
}
/**
* The information about the next hop.
*/
public Builder nextHops(java.util.List nextHops) {
this.nextHops = nextHops;
return this;
}
/**
* The ID of the route.
*
* example:
* rte-2zeksx7h436f5unk349m1
*/
public Builder routeEntryId(String routeEntryId) {
this.routeEntryId = routeEntryId;
return this;
}
/**
* The name of the route.
*
* example:
* test0
*/
public Builder routeEntryName(String routeEntryName) {
this.routeEntryName = routeEntryName;
return this;
}
/**
* The ID of the route table.
*
* example:
* vtb-uf62p9o5cn35fi8xgurnm
*/
public Builder routeTableId(String routeTableId) {
this.routeTableId = routeTableId;
return this;
}
/**
* The status of the route entry. Valid values:
*
* example:
* Available
*/
public Builder status(String status) {
this.status = status;
return this;
}
/**
* The type of the route entry.
*
* example:
* Custom
*/
public Builder type(String type) {
this.type = type;
return this;
}
public RouteEntrys build() {
return new RouteEntrys(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy