com.aliyun.ens20171110.models.CreateEpnInstanceRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class CreateEpnInstanceRequest extends TeaModel {
/**
* The name of the EPN instance.
*
* example:
* test EPNInstanceName
*/
@NameInMap("EPNInstanceName")
public String EPNInstanceName;
/**
* The type of the EPN instance. Set the value to EdgeToEdge.
* This parameter is required.
*
* example:
* EdgeToEdge
*/
@NameInMap("EPNInstanceType")
public String EPNInstanceType;
/**
* The billing method for network usage. Valid values:
*
* - BandwidthByDay: Pay by daily peak bandwidth.
* - 95BandwidthByMonth: Pay by monthly 95th percentile bandwidth.
* - PayByBandwidth4thMonth: Pay by monthly fourth peak bandwidth.
* - PayByBandwidth: Pay by fixed bandwidth.
*
* You can specify only one metering method for network usage and cannot overwrite the existing metering method.
* This parameter is required.
*
* example:
* BandwidthByDay
*/
@NameInMap("InternetChargeType")
public String internetChargeType;
/**
* The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 1 to 100.
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("InternetMaxBandwidthOut")
public Integer internetMaxBandwidthOut;
/**
* The networking mode. Valid values:
*
* - SpeedUp: intelligent acceleration network (Internet)
* - Connection: internal network
* - SpeedUpAndConnection: intelligent acceleration network and internal network
*
* This parameter is required.
*
* example:
* SpeedUp
*/
@NameInMap("NetworkingModel")
public String networkingModel;
public static CreateEpnInstanceRequest build(java.util.Map map) throws Exception {
CreateEpnInstanceRequest self = new CreateEpnInstanceRequest();
return TeaModel.build(map, self);
}
public CreateEpnInstanceRequest setEPNInstanceName(String EPNInstanceName) {
this.EPNInstanceName = EPNInstanceName;
return this;
}
public String getEPNInstanceName() {
return this.EPNInstanceName;
}
public CreateEpnInstanceRequest setEPNInstanceType(String EPNInstanceType) {
this.EPNInstanceType = EPNInstanceType;
return this;
}
public String getEPNInstanceType() {
return this.EPNInstanceType;
}
public CreateEpnInstanceRequest setInternetChargeType(String internetChargeType) {
this.internetChargeType = internetChargeType;
return this;
}
public String getInternetChargeType() {
return this.internetChargeType;
}
public CreateEpnInstanceRequest setInternetMaxBandwidthOut(Integer internetMaxBandwidthOut) {
this.internetMaxBandwidthOut = internetMaxBandwidthOut;
return this;
}
public Integer getInternetMaxBandwidthOut() {
return this.internetMaxBandwidthOut;
}
public CreateEpnInstanceRequest setNetworkingModel(String networkingModel) {
this.networkingModel = networkingModel;
return this;
}
public String getNetworkingModel() {
return this.networkingModel;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy