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

com.aliyun.sdk.service.ens20171110.models.ModifyEpnInstanceRequest 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 ModifyEpnInstanceRequest} extends {@link RequestModel}
 *
 * 

ModifyEpnInstanceRequest

*/ public class ModifyEpnInstanceRequest 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("EPNInstanceName") private String EPNInstanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InternetMaxBandwidthOut") private Integer internetMaxBandwidthOut; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkingModel") private String networkingModel; private ModifyEpnInstanceRequest(Builder builder) { super(builder); this.EPNInstanceId = builder.EPNInstanceId; this.EPNInstanceName = builder.EPNInstanceName; this.internetMaxBandwidthOut = builder.internetMaxBandwidthOut; this.networkingModel = builder.networkingModel; } public static Builder builder() { return new Builder(); } public static ModifyEpnInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return EPNInstanceId */ public String getEPNInstanceId() { return this.EPNInstanceId; } /** * @return EPNInstanceName */ public String getEPNInstanceName() { return this.EPNInstanceName; } /** * @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 EPNInstanceId; private String EPNInstanceName; private Integer internetMaxBandwidthOut; private String networkingModel; private Builder() { super(); } private Builder(ModifyEpnInstanceRequest request) { super(request); this.EPNInstanceId = request.EPNInstanceId; this.EPNInstanceName = request.EPNInstanceName; this.internetMaxBandwidthOut = request.internetMaxBandwidthOut; this.networkingModel = request.networkingModel; } /** *

The ID of the EPN instance.

*

This parameter is required.

* * example: *

epn-****

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

The name of the EPN instance.

* * example: *

ens_test_epn

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

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

* * example: *

10

*/ 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.
  • *
*
*

The internal network supports only Connection and SpeedUpAndConnection.

*
* * example: *

SpeedUp

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy