com.aliyun.sdk.service.ens20171110.models.DescribeEpnInstanceAttributeResponseBody 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 DescribeEpnInstanceAttributeResponseBody} extends {@link TeaModel}
*
* DescribeEpnInstanceAttributeResponseBody
*/
public class DescribeEpnInstanceAttributeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConfVersions")
private java.util.List confVersions;
@com.aliyun.core.annotation.NameInMap("EPNInstanceId")
private String EPNInstanceId;
@com.aliyun.core.annotation.NameInMap("EPNInstanceName")
private String EPNInstanceName;
@com.aliyun.core.annotation.NameInMap("Instances")
private java.util.List instances;
@com.aliyun.core.annotation.NameInMap("NetworkingModel")
private String networkingModel;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("VSwitches")
private java.util.List vSwitches;
private DescribeEpnInstanceAttributeResponseBody(Builder builder) {
this.confVersions = builder.confVersions;
this.EPNInstanceId = builder.EPNInstanceId;
this.EPNInstanceName = builder.EPNInstanceName;
this.instances = builder.instances;
this.networkingModel = builder.networkingModel;
this.requestId = builder.requestId;
this.vSwitches = builder.vSwitches;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEpnInstanceAttributeResponseBody create() {
return builder().build();
}
/**
* @return confVersions
*/
public java.util.List getConfVersions() {
return this.confVersions;
}
/**
* @return EPNInstanceId
*/
public String getEPNInstanceId() {
return this.EPNInstanceId;
}
/**
* @return EPNInstanceName
*/
public String getEPNInstanceName() {
return this.EPNInstanceName;
}
/**
* @return instances
*/
public java.util.List getInstances() {
return this.instances;
}
/**
* @return networkingModel
*/
public String getNetworkingModel() {
return this.networkingModel;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return vSwitches
*/
public java.util.List getVSwitches() {
return this.vSwitches;
}
public static final class Builder {
private java.util.List confVersions;
private String EPNInstanceId;
private String EPNInstanceName;
private java.util.List instances;
private String networkingModel;
private String requestId;
private java.util.List vSwitches;
/**
* The information about the EPN configurations.
*/
public Builder confVersions(java.util.List confVersions) {
this.confVersions = confVersions;
return this;
}
/**
* The ID of the EPN instance.
*
* example:
* epn-xxxx
*/
public Builder EPNInstanceId(String EPNInstanceId) {
this.EPNInstanceId = EPNInstanceId;
return this;
}
/**
* The name of the EPN instance.
*
* example:
* epn-test
*/
public Builder EPNInstanceName(String EPNInstanceName) {
this.EPNInstanceName = EPNInstanceName;
return this;
}
/**
* The information about the instance.
*/
public Builder instances(java.util.List instances) {
this.instances = instances;
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 request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Details of the vSwitch.
*/
public Builder vSwitches(java.util.List vSwitches) {
this.vSwitches = vSwitches;
return this;
}
public DescribeEpnInstanceAttributeResponseBody build() {
return new DescribeEpnInstanceAttributeResponseBody(this);
}
}
/**
*
* {@link DescribeEpnInstanceAttributeResponseBody} extends {@link TeaModel}
*
* DescribeEpnInstanceAttributeResponseBody
*/
public static class ConfVersions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConfVersion")
private String confVersion;
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private String ensRegionId;
private ConfVersions(Builder builder) {
this.confVersion = builder.confVersion;
this.ensRegionId = builder.ensRegionId;
}
public static Builder builder() {
return new Builder();
}
public static ConfVersions create() {
return builder().build();
}
/**
* @return confVersion
*/
public String getConfVersion() {
return this.confVersion;
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
public static final class Builder {
private String confVersion;
private String ensRegionId;
/**
* The version number.
*
* example:
* 2017-10-11
*/
public Builder confVersion(String confVersion) {
this.confVersion = confVersion;
return this;
}
/**
* The ID of the node.
*
* example:
* cn-chengdu-telecom
*/
public Builder ensRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
public ConfVersions build() {
return new ConfVersions(this);
}
}
}
/**
*
* {@link DescribeEpnInstanceAttributeResponseBody} extends {@link TeaModel}
*
* DescribeEpnInstanceAttributeResponseBody
*/
public static class Instances extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.NameInMap("InstanceName")
private String instanceName;
@com.aliyun.core.annotation.NameInMap("Isp")
private String isp;
@com.aliyun.core.annotation.NameInMap("PrivateIpAddress")
private String privateIpAddress;
@com.aliyun.core.annotation.NameInMap("PublicIpAddress")
private String publicIpAddress;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private Instances(Builder builder) {
this.ensRegionId = builder.ensRegionId;
this.instanceId = builder.instanceId;
this.instanceName = builder.instanceName;
this.isp = builder.isp;
this.privateIpAddress = builder.privateIpAddress;
this.publicIpAddress = builder.publicIpAddress;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Instances create() {
return builder().build();
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return instanceName
*/
public String getInstanceName() {
return this.instanceName;
}
/**
* @return isp
*/
public String getIsp() {
return this.isp;
}
/**
* @return privateIpAddress
*/
public String getPrivateIpAddress() {
return this.privateIpAddress;
}
/**
* @return publicIpAddress
*/
public String getPublicIpAddress() {
return this.publicIpAddress;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String ensRegionId;
private String instanceId;
private String instanceName;
private String isp;
private String privateIpAddress;
private String publicIpAddress;
private String status;
/**
* The ID of the node.
*
* example:
* cn-chengdu-telecom-4
*/
public Builder ensRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
/**
* The ID of the instance.
*
* example:
* epn-xxx
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* The name of the instance.
*
* example:
* epn-test
*/
public Builder instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* The ISP. Valid values:
*
* - cmcc: China Mobile
* - unicom: China Unicom
* - telecom: China Telecom
*
*
* example:
* cmcc
*/
public Builder isp(String isp) {
this.isp = isp;
return this;
}
/**
* The private IP address.
*
* example:
* 192.168.1.12
*/
public Builder privateIpAddress(String privateIpAddress) {
this.privateIpAddress = privateIpAddress;
return this;
}
/**
* The public IP address.
*
* example:
* 20.3.XX.XX
*/
public Builder publicIpAddress(String publicIpAddress) {
this.publicIpAddress = publicIpAddress;
return this;
}
/**
* The status of the instance. Valid values:
*
* - Running
* - Stopped
* - Expired
*
*
* example:
* Running
*/
public Builder status(String status) {
this.status = status;
return this;
}
public Instances build() {
return new Instances(this);
}
}
}
/**
*
* {@link DescribeEpnInstanceAttributeResponseBody} extends {@link TeaModel}
*
* DescribeEpnInstanceAttributeResponseBody
*/
public static class VSwitches extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CidrBlock")
private String cidrBlock;
@com.aliyun.core.annotation.NameInMap("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.NameInMap("VSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("VSwitchName")
private String vSwitchName;
private VSwitches(Builder builder) {
this.cidrBlock = builder.cidrBlock;
this.ensRegionId = builder.ensRegionId;
this.vSwitchId = builder.vSwitchId;
this.vSwitchName = builder.vSwitchName;
}
public static Builder builder() {
return new Builder();
}
public static VSwitches create() {
return builder().build();
}
/**
* @return cidrBlock
*/
public String getCidrBlock() {
return this.cidrBlock;
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return vSwitchName
*/
public String getVSwitchName() {
return this.vSwitchName;
}
public static final class Builder {
private String cidrBlock;
private String ensRegionId;
private String vSwitchId;
private String vSwitchName;
/**
* The CIDR block.
*
* example:
* 10.0.0.1/24
*/
public Builder cidrBlock(String cidrBlock) {
this.cidrBlock = cidrBlock;
return this;
}
/**
* The ID of the node.
*
* example:
* cn-chengdu-telecom-4
*/
public Builder ensRegionId(String ensRegionId) {
this.ensRegionId = ensRegionId;
return this;
}
/**
* The ID of the vSwitch.
*
* example:
* vs-xxxx
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* The name of the vSwitch.
*
* example:
* vs-test
*/
public Builder vSwitchName(String vSwitchName) {
this.vSwitchName = vSwitchName;
return this;
}
public VSwitches build() {
return new VSwitches(this);
}
}
}
}