public static final class DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder |
autoRenewEnabled(Boolean autoRenewEnabled)
Indicates whether auto-renewal is enabled.
|
DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute |
build() |
DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder |
duration(Integer duration)
The auto-renewal duration.
|
DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder |
instanceId(String instanceId)
The ID of the instance.
|
DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder |
periodUnit(String periodUnit)
The unit of the auto-renewal duration.
|
DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder |
renewalStatus(String renewalStatus)
The auto-renewal state of the instance.
|
public DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder autoRenewEnabled(Boolean autoRenewEnabled)
public DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder duration(Integer duration)
public DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder instanceId(String instanceId)
public DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder periodUnit(String periodUnit)
public DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute.Builder renewalStatus(String renewalStatus)
* AutoRenewal: Auto-renewal is enabled for the instance. * Normal: Auto-renewal is disabled for the instance. * NotRenewal: The instance is not to be renewed. The system sends no more expiration reminders, but sends only a non-renewal reminder three days before the expiration date. For an instance that is not to be renewed, you can call the [ModifyInstanceAutoRenewAttribute](~~52843~~) operation to change its auto-renewal status to `Normal`. Then, you can manually renew the instance or enable auto-renewal for the instance.
public DescribeInstanceAutoRenewAttributeResponseBody.InstanceRenewAttribute build()
Copyright © 2024. All rights reserved.