public class UpdateAcceleratorAutoRenewAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
acceleratorId
The ID of the GA instance.
|
Boolean |
autoRenew
Specifies whether to enable auto-renewal for the GA instance.
|
Integer |
autoRenewDuration
The auto-renewal duration.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
name
The name of the GA instance.
|
String |
regionId
The ID of the region where the GA instance is deployed.
|
String |
renewalStatus
Specifies how to renew the GA instance.
|
构造器和说明 |
---|
UpdateAcceleratorAutoRenewAttributeRequest() |
限定符和类型 | 方法和说明 |
---|---|
static UpdateAcceleratorAutoRenewAttributeRequest |
build(Map<String,?> map) |
String |
getAcceleratorId() |
Boolean |
getAutoRenew() |
Integer |
getAutoRenewDuration() |
String |
getClientToken() |
String |
getName() |
String |
getRegionId() |
String |
getRenewalStatus() |
UpdateAcceleratorAutoRenewAttributeRequest |
setAcceleratorId(String acceleratorId) |
UpdateAcceleratorAutoRenewAttributeRequest |
setAutoRenew(Boolean autoRenew) |
UpdateAcceleratorAutoRenewAttributeRequest |
setAutoRenewDuration(Integer autoRenewDuration) |
UpdateAcceleratorAutoRenewAttributeRequest |
setClientToken(String clientToken) |
UpdateAcceleratorAutoRenewAttributeRequest |
setName(String name) |
UpdateAcceleratorAutoRenewAttributeRequest |
setRegionId(String regionId) |
UpdateAcceleratorAutoRenewAttributeRequest |
setRenewalStatus(String renewalStatus) |
@NameInMap(value="AcceleratorId") public String acceleratorId
The ID of the GA instance.
@NameInMap(value="AutoRenew") public Boolean autoRenew
Specifies whether to enable auto-renewal for the GA instance. Valid values:
* **true**
* **false** (default)
> **AutoRenew** and **RenewalStatus** cannot be left empty at the same time.
@NameInMap(value="AutoRenewDuration") public Integer autoRenewDuration
The auto-renewal duration. Unit: month.
Valid values: **1** to **12**.
> This parameter takes effect only if you set **AutoRenew** to **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.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="Name") public String name
The name of the GA instance.
The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the GA instance is deployed. Set the value to **cn-hangzhou**.
@NameInMap(value="RenewalStatus") public String renewalStatus
Specifies how to renew the GA instance. Valid values:
* **AutoRenewal**: The system automatically renews the GA instance.
* **Normal**: You must manually renew the GA instance.
* **NotRenewal**: The GA instance is not renewed after the instance expires. The system sends only a non-renewal reminder three days before the expiration date. The system no longer reminds you to renew the GA instance. To renew a GA instance whose RenewalStatus is set to NotRenewal, change the value of RenewalStatus from NotRenewal to **Normal**, and then manually renew the instance. You can also set RenewalStatus to **AutoRenewal**.
>
* **AutoRenew** and **RenewalStatus** cannot be left empty at the same time.
* **RenewalStatus** takes precedence over **AutoRenew**. By default, if you do not specify **RenewalStatus**, **AutoRenew** is used.
public UpdateAcceleratorAutoRenewAttributeRequest()
public static UpdateAcceleratorAutoRenewAttributeRequest build(Map<String,?> map) throws Exception
Exception
public UpdateAcceleratorAutoRenewAttributeRequest setAcceleratorId(String acceleratorId)
public String getAcceleratorId()
public UpdateAcceleratorAutoRenewAttributeRequest setAutoRenew(Boolean autoRenew)
public Boolean getAutoRenew()
public UpdateAcceleratorAutoRenewAttributeRequest setAutoRenewDuration(Integer autoRenewDuration)
public Integer getAutoRenewDuration()
public UpdateAcceleratorAutoRenewAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateAcceleratorAutoRenewAttributeRequest setName(String name)
public String getName()
public UpdateAcceleratorAutoRenewAttributeRequest setRegionId(String regionId)
public String getRegionId()
public UpdateAcceleratorAutoRenewAttributeRequest setRenewalStatus(String renewalStatus)
public String getRenewalStatus()
Copyright © 2024. All rights reserved.