com.aliyun.sdk.service.ens20171110.models.JoinVSwitchesToEpnInstanceRequest 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 JoinVSwitchesToEpnInstanceRequest} extends {@link RequestModel}
*
* JoinVSwitchesToEpnInstanceRequest
*/
public class JoinVSwitchesToEpnInstanceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EPNInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String EPNInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VSwitchesInfo")
@com.aliyun.core.annotation.Validation(required = true)
private String vSwitchesInfo;
private JoinVSwitchesToEpnInstanceRequest(Builder builder) {
super(builder);
this.EPNInstanceId = builder.EPNInstanceId;
this.vSwitchesInfo = builder.vSwitchesInfo;
}
public static Builder builder() {
return new Builder();
}
public static JoinVSwitchesToEpnInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return EPNInstanceId
*/
public String getEPNInstanceId() {
return this.EPNInstanceId;
}
/**
* @return vSwitchesInfo
*/
public String getVSwitchesInfo() {
return this.vSwitchesInfo;
}
public static final class Builder extends Request.Builder {
private String EPNInstanceId;
private String vSwitchesInfo;
private Builder() {
super();
}
private Builder(JoinVSwitchesToEpnInstanceRequest request) {
super(request);
this.EPNInstanceId = request.EPNInstanceId;
this.vSwitchesInfo = request.vSwitchesInfo;
}
/**
* The ID of the edge network instance.
* This parameter is required.
*
* example:
* epn-xxxx
*/
public Builder EPNInstanceId(String EPNInstanceId) {
this.putQueryParameter("EPNInstanceId", EPNInstanceId);
this.EPNInstanceId = EPNInstanceId;
return this;
}
/**
* The information about the internal networking to which you want to add the edge network instance.
* This parameter is required.
*
* example:
* [{"VSwitchId":"vs-ixxxx"},{"VSwitchId":"vs-ixxxx"}]
*/
public Builder vSwitchesInfo(String vSwitchesInfo) {
this.putQueryParameter("VSwitchesInfo", vSwitchesInfo);
this.vSwitchesInfo = vSwitchesInfo;
return this;
}
@Override
public JoinVSwitchesToEpnInstanceRequest build() {
return new JoinVSwitchesToEpnInstanceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy