public static final class RenewDesktopsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
RenewDesktopsRequest.Builder |
autoPay(Boolean autoPay)
Specifies whether to enable the auto-payment feature.
|
RenewDesktopsRequest.Builder |
autoRenew(Boolean autoRenew)
AutoRenew.
|
RenewDesktopsRequest |
build() |
RenewDesktopsRequest.Builder |
desktopId(List<String> desktopId)
The IDs of the cloud computers.
|
RenewDesktopsRequest.Builder |
period(Integer period)
The renewal duration.
|
RenewDesktopsRequest.Builder |
periodUnit(String periodUnit)
The unit of the renewal duration specified by the `Period` parameter.
|
RenewDesktopsRequest.Builder |
promotionId(String promotionId)
The ID of the promotional activity.
|
RenewDesktopsRequest.Builder |
regionId(String regionId)
The region ID.
|
RenewDesktopsRequest.Builder |
resourceType(String resourceType)
ResourceType.
|
public RenewDesktopsRequest.Builder autoPay(Boolean autoPay)
Default value: true. Valid values: * true: enables the auto-payment feature. Make sure that you have sufficient balance in your Alibaba Cloud account. Otherwise, your order becomes invalid. * false: disables the auto-payment feature. In this case, an order is generated, and no payment is automatically made. You can log on to the Elastic Desktop Service console and complete the payment based on the order ID on the Orders page.
public RenewDesktopsRequest.Builder autoRenew(Boolean autoRenew)
public RenewDesktopsRequest.Builder desktopId(List<String> desktopId)
public RenewDesktopsRequest.Builder period(Integer period)
* Valid values if you set the `PeriodUnit` parameter to `Month`: 1, 2, 3, and 6 * Valid values if you set the `PeriodUnit` parameter to `Year`: 1, 2, 3, 4, 5, and 6 Default value: 1.
public RenewDesktopsRequest.Builder periodUnit(String periodUnit)
Default value: Month. Valid values: * Month * Year
public RenewDesktopsRequest.Builder promotionId(String promotionId)
public RenewDesktopsRequest.Builder regionId(String regionId)
public RenewDesktopsRequest.Builder resourceType(String resourceType)
public RenewDesktopsRequest build()
Copyright © 2024. All rights reserved.