All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ens20171110.models.CreateEpnInstanceRequest Maven / Gradle / Ivy

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 CreateEpnInstanceRequest} extends {@link RequestModel}
 *
 * 

CreateEpnInstanceRequest

*/ public class CreateEpnInstanceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EPNInstanceName") private String EPNInstanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EPNInstanceType") @com.aliyun.core.annotation.Validation(required = true) private String EPNInstanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetChargeType") @com.aliyun.core.annotation.Validation(required = true) private String internetChargeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetMaxBandwidthOut") @com.aliyun.core.annotation.Validation(required = true) private Integer internetMaxBandwidthOut; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkingModel") @com.aliyun.core.annotation.Validation(required = true) private String networkingModel; private CreateEpnInstanceRequest(Builder builder) { super(builder); this.EPNInstanceName = builder.EPNInstanceName; this.EPNInstanceType = builder.EPNInstanceType; this.internetChargeType = builder.internetChargeType; this.internetMaxBandwidthOut = builder.internetMaxBandwidthOut; this.networkingModel = builder.networkingModel; } public static Builder builder() { return new Builder(); } public static CreateEpnInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return EPNInstanceName */ public String getEPNInstanceName() { return this.EPNInstanceName; } /** * @return EPNInstanceType */ public String getEPNInstanceType() { return this.EPNInstanceType; } /** * @return internetChargeType */ public String getInternetChargeType() { return this.internetChargeType; } /** * @return internetMaxBandwidthOut */ public Integer getInternetMaxBandwidthOut() { return this.internetMaxBandwidthOut; } /** * @return networkingModel */ public String getNetworkingModel() { return this.networkingModel; } public static final class Builder extends Request.Builder { private String EPNInstanceName; private String EPNInstanceType; private String internetChargeType; private Integer internetMaxBandwidthOut; private String networkingModel; private Builder() { super(); } private Builder(CreateEpnInstanceRequest request) { super(request); this.EPNInstanceName = request.EPNInstanceName; this.EPNInstanceType = request.EPNInstanceType; this.internetChargeType = request.internetChargeType; this.internetMaxBandwidthOut = request.internetMaxBandwidthOut; this.networkingModel = request.networkingModel; } /** *

The name of the EPN instance.

* * example: *

test EPNInstanceName

*/ public Builder EPNInstanceName(String EPNInstanceName) { this.putQueryParameter("EPNInstanceName", EPNInstanceName); this.EPNInstanceName = EPNInstanceName; return this; } /** *

The type of the EPN instance. Set the value to EdgeToEdge.

*

This parameter is required.

* * example: *

EdgeToEdge

*/ public Builder EPNInstanceType(String EPNInstanceType) { this.putQueryParameter("EPNInstanceType", EPNInstanceType); this.EPNInstanceType = EPNInstanceType; return this; } /** *

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

*/ public Builder internetChargeType(String internetChargeType) { this.putQueryParameter("InternetChargeType", internetChargeType); this.internetChargeType = internetChargeType; return this; } /** *

The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 1 to 100.

*

This parameter is required.

* * example: *

1

*/ public Builder internetMaxBandwidthOut(Integer internetMaxBandwidthOut) { this.putQueryParameter("InternetMaxBandwidthOut", internetMaxBandwidthOut); this.internetMaxBandwidthOut = internetMaxBandwidthOut; return this; } /** *

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

*/ public Builder networkingModel(String networkingModel) { this.putQueryParameter("NetworkingModel", networkingModel); this.networkingModel = networkingModel; return this; } @Override public CreateEpnInstanceRequest build() { return new CreateEpnInstanceRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy