com.ksc.network.vpc.model.Route.DescribeRoutesResult Maven / Gradle / Ivy
package com.ksc.network.vpc.model.Route;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
* Contains the output of DescribeRoutes.
*
*/
@ToString
@EqualsAndHashCode
public class DescribeRoutesResult {
private String RequestId;
/**
*
* 路由的信息.
*
*/
private com.ksc.internal.SdkInternalList RouteSet;
public String getRequestId() {
return RequestId;
}
public void setRequestId(String requestId) {
this.RequestId = requestId;
}
public java.util.List getRouteSet() {
if (RouteSet == null) {
RouteSet = new com.ksc.internal.SdkInternalList();
}
return RouteSet;
}
public void setRouteSet(java.util.Collection routes) {
if (routes == null) {
this.RouteSet = null;
return;
}
this.RouteSet = new com.ksc.internal.SdkInternalList(routes);
}
public DescribeRoutesResult withRoutes(Route... routes) {
if (this.RouteSet == null) {
setRouteSet(new com.ksc.internal.SdkInternalList(routes.length));
}
for (Route ele : routes) {
this.RouteSet.add(ele);
}
return this;
}
public DescribeRoutesResult withRoutes(java.util.Collection routes) {
setRouteSet(routes);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy