public static final class DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute.Builder autoRenewEnabled(Boolean autoRenewEnabled)
* true * false
public DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute.Builder autoRenewWithEcs(String autoRenewWithEcs)
* AutoRenewWithEcs: The dedicated host is automatically renewed along with the ECS instance. * StopRenewWithEcs: The dedicated host is not automatically renewed along with the ECS instance.
public DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute.Builder dedicatedHostId(String dedicatedHostId)
public DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute.Builder duration(Integer duration)
public DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute.Builder periodUnit(String periodUnit)
* Week * Month
public DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute.Builder renewalStatus(String renewalStatus)
* AutoRenewal: The dedicated host is automatically renewed. * Normal: The dedicated host is not automatically renewed, but renewal notifications are sent. * NotRenewal: The dedicated host is not automatically renewed, and no expiration notification is sent. Alibaba Cloud sends only a non-renewal notice three days before the host expires. If the renewal status of a dedicated host is NotRenewal, you can change the value to Normal and then call [RenewDedicatedHosts](~~93287~~) to manually renew the dedicated host, or directly change the value to AutoRenewal.
public DescribeDedicatedHostAutoRenewResponseBody.DedicatedHostRenewAttribute build()
Copyright © 2024. All rights reserved.