public class ModifyInstanceNetworkSpecRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
allocatePublicIp
Specifies whether to allocate a public IP address.
|
Boolean |
autoPay
Specifies whether to automatically complete the payment.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
endTime
The end time of the temporary bandwidth upgrade.
|
String |
instanceId
The ID of the instance for which you want to modify bandwidth configurations.
|
Integer |
internetMaxBandwidthIn
The maximum inbound public bandwidth.
|
Integer |
internetMaxBandwidthOut
The maximum outbound public bandwidth.
|
String |
ISP
This parameter is in invitational preview and is not publicly available.
|
String |
networkChargeType
The billing method for network usage.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
startTime
The start time of the temporary bandwidth upgrade.
|
构造器和说明 |
---|
ModifyInstanceNetworkSpecRequest() |
@NameInMap(value="AllocatePublicIp") public Boolean allocatePublicIp
Specifies whether to allocate a public IP address.
Default value: false.
example:false
@NameInMap(value="AutoPay") public Boolean autoPay
Specifies whether to automatically complete the payment. Valid values:
Default value: true.
example:true
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
example:123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="EndTime") public String endTime
The end time of the temporary bandwidth upgrade. Specify the time in the ISO 8601 standard in the yyyy-MM-ddThhZ format. The time must be in UTC and accurate to hours (hh).
example:The interval between the end time and the start time of the temporary bandwidth upgrade must be greater than or equal to 3 hours.
2017-12-06T22Z
@NameInMap(value="ISP") public String ISP
example:This parameter is in invitational preview and is not publicly available.
null
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance for which you want to modify bandwidth configurations.
This parameter is required.
example:i-bp67acfmxazb4****
@NameInMap(value="InternetMaxBandwidthIn") public Integer internetMaxBandwidthIn
The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
InternetMaxBandwidthOut
, and the default value is the value of InternetMaxBandwidthOut
.10
@NameInMap(value="InternetMaxBandwidthOut") public Integer internetMaxBandwidthOut
The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
example:10
@NameInMap(value="NetworkChargeType") public String networkChargeType
The billing method for network usage. Valid values:
example:When the pay-by-traffic billing method for network usage is used, the maximum inbound and outbound bandwidth values are used as the upper limits of bandwidths instead of guaranteed values. In scenarios where demand outstrips resource supplies, these maximum bandwidths may be limited. If you want guaranteed bandwidths for your instance, use the pay-by-bandwidth billing method for network usage.
PayByTraffic
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static ModifyInstanceNetworkSpecRequest build(Map<String,?> map) throws Exception
Exception
public ModifyInstanceNetworkSpecRequest setAllocatePublicIp(Boolean allocatePublicIp)
public Boolean getAllocatePublicIp()
public ModifyInstanceNetworkSpecRequest setAutoPay(Boolean autoPay)
public Boolean getAutoPay()
public ModifyInstanceNetworkSpecRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyInstanceNetworkSpecRequest setEndTime(String endTime)
public String getEndTime()
public ModifyInstanceNetworkSpecRequest setISP(String ISP)
public String getISP()
public ModifyInstanceNetworkSpecRequest setInstanceId(String instanceId)
public String getInstanceId()
public ModifyInstanceNetworkSpecRequest setInternetMaxBandwidthIn(Integer internetMaxBandwidthIn)
public Integer getInternetMaxBandwidthIn()
public ModifyInstanceNetworkSpecRequest setInternetMaxBandwidthOut(Integer internetMaxBandwidthOut)
public Integer getInternetMaxBandwidthOut()
public ModifyInstanceNetworkSpecRequest setNetworkChargeType(String networkChargeType)
public String getNetworkChargeType()
public ModifyInstanceNetworkSpecRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyInstanceNetworkSpecRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyInstanceNetworkSpecRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyInstanceNetworkSpecRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyInstanceNetworkSpecRequest setStartTime(String startTime)
public String getStartTime()
Copyright © 2024. All rights reserved.