public static class DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
autoRenewEnabled
Indicates whether auto-renewal is enabled.
|
String |
autoRenewWithEcs
Indicates whether the dedicated host is automatically renewed if a subscription ECS instance it hosts, after being automatically renewed, has a new expiration time that is later than that of the dedicated host.
|
String |
dedicatedHostId
The ID of the dedicated host.
|
Integer |
duration
The auto-renewal period.
|
String |
periodUnit
The unit of the auto-renewal duration.
|
String |
renewalStatus
Indicates whether the subscription dedicated host is automatically renewed.
|
构造器和说明 |
---|
DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute() |
@NameInMap(value="AutoRenewEnabled") public Boolean autoRenewEnabled
Indicates whether auto-renewal is enabled. Valid values:
false
@NameInMap(value="AutoRenewWithEcs") public String autoRenewWithEcs
Indicates whether the dedicated host is automatically renewed if a subscription ECS instance it hosts, after being automatically renewed, has a new expiration time that is later than that of the dedicated host. Valid values:
StopRenewWithEcs
@NameInMap(value="DedicatedHostId") public String dedicatedHostId
The ID of the dedicated host.
example:dh-bp165p6xk2tlw61e****
@NameInMap(value="Duration") public Integer duration
The auto-renewal period.
example:0
@NameInMap(value="PeriodUnit") public String periodUnit
The unit of the auto-renewal duration. Valid values:
Month
@NameInMap(value="RenewalStatus") public String renewalStatus
Indicates whether the subscription dedicated host is automatically renewed. Valid values:
Normal
public DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute()
public static DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute build(Map<String,?> map) throws Exception
Exception
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setAutoRenewEnabled(Boolean autoRenewEnabled)
public Boolean getAutoRenewEnabled()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setAutoRenewWithEcs(String autoRenewWithEcs)
public String getAutoRenewWithEcs()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setDedicatedHostId(String dedicatedHostId)
public String getDedicatedHostId()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setDuration(Integer duration)
public Integer getDuration()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setPeriodUnit(String periodUnit)
public String getPeriodUnit()
public DescribeDedicatedHostAutoRenewResponseBody.DescribeDedicatedHostAutoRenewResponseBodyDedicatedHostRenewAttributesDedicatedHostRenewAttribute setRenewalStatus(String renewalStatus)
public String getRenewalStatus()
Copyright © 2024. All rights reserved.