
com.aliyun.sdk.service.cbn20170912.models.ListGrantVSwitchesToCenResponseBody 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 ListGrantVSwitchesToCenResponseBody} extends {@link TeaModel}
*
* ListGrantVSwitchesToCenResponseBody
*/
public class ListGrantVSwitchesToCenResponseBody 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("TotalCount")
private Integer totalCount;
@com.aliyun.core.annotation.NameInMap("VSwitches")
private java.util.List < VSwitches> vSwitches;
private ListGrantVSwitchesToCenResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
this.vSwitches = builder.vSwitches;
}
public static Builder builder() {
return new Builder();
}
public static ListGrantVSwitchesToCenResponseBody 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 totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
/**
* @return vSwitches
*/
public java.util.List < VSwitches> getVSwitches() {
return this.vSwitches;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
private java.util.List < VSwitches> vSwitches;
/**
* 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 ID of the request.
*/
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;
}
/**
* The list of vSwitches.
*/
public Builder vSwitches(java.util.List < VSwitches> vSwitches) {
this.vSwitches = vSwitches;
return this;
}
public ListGrantVSwitchesToCenResponseBody build() {
return new ListGrantVSwitchesToCenResponseBody(this);
}
}
public static class VSwitches extends TeaModel {
@com.aliyun.core.annotation.NameInMap("VSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("VSwitchName")
private String vSwitchName;
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private VSwitches(Builder builder) {
this.vSwitchId = builder.vSwitchId;
this.vSwitchName = builder.vSwitchName;
this.vpcId = builder.vpcId;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static VSwitches create() {
return builder().build();
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vSwitchName
*/
public String getVSwitchName() {
return this.vSwitchName;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String vSwitchId;
private String vSwitchName;
private String vpcId;
private String zoneId;
/**
* The ID of the vSwitch.
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* The name of the vSwitch.
*/
public Builder vSwitchName(String vSwitchName) {
this.vSwitchName = vSwitchName;
return this;
}
/**
* The ID of the VPC to which the vSwitch belongs.
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
/**
* The ID of the zone to which the vSwitch belongs.
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public VSwitches build() {
return new VSwitches(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy