public class ResetInstancesInternetMaxBandwidthRequest extends AbstractModel
Constructor and Description |
---|
ResetInstancesInternetMaxBandwidthRequest() |
ResetInstancesInternetMaxBandwidthRequest(ResetInstancesInternetMaxBandwidthRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getEndTime()
Get Date until which the new bandwidth is effective.
|
String[] |
getInstanceIds()
Get Instance ID(s).
|
InternetAccessible |
getInternetAccessible()
Get Configuration of public network egress bandwidth.
|
String |
getStartTime()
Get Date from which the new bandwidth takes effect.
|
void |
setEndTime(String EndTime)
Set Date until which the new bandwidth is effective.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID(s).
|
void |
setInternetAccessible(InternetAccessible InternetAccessible)
Set Configuration of public network egress bandwidth.
|
void |
setStartTime(String StartTime)
Set Date from which the new bandwidth takes effect.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ResetInstancesInternetMaxBandwidthRequest()
public ResetInstancesInternetMaxBandwidthRequest(ResetInstancesInternetMaxBandwidthRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID(s). To obtain the instance IDs, you can call [`DescribeInstances`](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and look for `InstanceId` in the response. The maximum number of instances in each request is 100. When changing the bandwidth of instances with `BANDWIDTH_PREPAID` or `BANDWIDTH_POSTPAID_BY_HOUR` as the network billing method, you can only specify one instance at a time.public InternetAccessible getInternetAccessible()
public void setInternetAccessible(InternetAccessible InternetAccessible)
InternetAccessible
- Configuration of public network egress bandwidth. The maximum bandwidth varies among different models. For more information, see the documentation on bandwidth limits. Currently only the `InternetMaxBandwidthOut` parameter is supported.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Date from which the new bandwidth takes effect. Format: `YYYY-MM-DD`, such as `2016-10-30`. The starting date cannot be earlier than the current date. If the starting date is the current date, the new bandwidth takes effect immediately. This parameter is only valid for prepaid bandwidth. If you specify the parameter for bandwidth with other network billing methods, an error code will be returned.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Date until which the new bandwidth is effective. Format: `YYYY-MM-DD`, such as `2016-10-30`. The validity period of the new bandwidth covers the end date. The end date cannot be later than the expiration date of a prepaid instance. You can query the expiration time of an instance by calling [`DescribeInstances`](https://intl.cloud.tencent.com/document/api/213/15728) and looking for `ExpiredTime` in the response. This parameter is only valid for prepaid bandwidth. If you specify the parameter for bandwidth with other network billing methods, an error code will be returned.Copyright © 2023. All rights reserved.