All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dds20151201.models.DescribeInstanceAutoRenewalAttributeResponseBody Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dds20151201.models;

import com.aliyun.tea.*;

public class DescribeInstanceAutoRenewalAttributeResponseBody extends TeaModel {
    /**
     * 

Details about returned entries.

*/ @NameInMap("Items") public DescribeInstanceAutoRenewalAttributeResponseBodyItems items; /** *

The total number of entries returned.

* * example: *

2

*/ @NameInMap("ItemsNumbers") public Integer itemsNumbers; /** *

The page number of the returned page.

* * example: *

1

*/ @NameInMap("PageNumber") public Integer pageNumber; /** *

The number of entries that were returned on the current page.

* * example: *

2

*/ @NameInMap("PageRecordCount") public Integer pageRecordCount; /** *

The ID of the request.

* * example: *

FAB5CB3B-DB9D-473A-9DF1-F57B6B9CB949

*/ @NameInMap("RequestId") public String requestId; public static DescribeInstanceAutoRenewalAttributeResponseBody build(java.util.Map map) throws Exception { DescribeInstanceAutoRenewalAttributeResponseBody self = new DescribeInstanceAutoRenewalAttributeResponseBody(); return TeaModel.build(map, self); } public DescribeInstanceAutoRenewalAttributeResponseBody setItems(DescribeInstanceAutoRenewalAttributeResponseBodyItems items) { this.items = items; return this; } public DescribeInstanceAutoRenewalAttributeResponseBodyItems getItems() { return this.items; } public DescribeInstanceAutoRenewalAttributeResponseBody setItemsNumbers(Integer itemsNumbers) { this.itemsNumbers = itemsNumbers; return this; } public Integer getItemsNumbers() { return this.itemsNumbers; } public DescribeInstanceAutoRenewalAttributeResponseBody setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } public Integer getPageNumber() { return this.pageNumber; } public DescribeInstanceAutoRenewalAttributeResponseBody setPageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } public Integer getPageRecordCount() { return this.pageRecordCount; } public DescribeInstanceAutoRenewalAttributeResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem extends TeaModel { /** *

Indicates whether auto-renewal is enabled for the instance. Valid values:

*
    *
  • true: Auto-renewal is enabled for the instance.
  • *
  • false: Auto-renewal is disabled for the instance.
  • *
* * example: *

true

*/ @NameInMap("AutoRenew") public String autoRenew; /** *

The category of the instance. Valid values:

*
    *
  • replicate: the standalone or replica set instance
  • *
  • sharding: the sharded cluster instance
  • *
* * example: *

replicate

*/ @NameInMap("DBInstanceType") public String DBInstanceType; /** *

The ID of the instance.

* * example: *

dds-bp2568*****

*/ @NameInMap("DbInstanceId") public String dbInstanceId; /** *

The auto-renewal period. Unit: months.

*
*
    *
  • This parameter is ruturned only when the returned value of the AutoRenew parameter is true.
  • *
  • You can call the ModifyInstanceAutoRenewalAttribute operation to modify the auto-renewal period.
  • *
*
* * example: *

1

*/ @NameInMap("Duration") public String duration; /** *

The region ID of the instance.

* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; public static DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem build(java.util.Map map) throws Exception { DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem self = new DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem(); return TeaModel.build(map, self); } public DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem setAutoRenew(String autoRenew) { this.autoRenew = autoRenew; return this; } public String getAutoRenew() { return this.autoRenew; } public DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem setDBInstanceType(String DBInstanceType) { this.DBInstanceType = DBInstanceType; return this; } public String getDBInstanceType() { return this.DBInstanceType; } public DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem setDbInstanceId(String dbInstanceId) { this.dbInstanceId = dbInstanceId; return this; } public String getDbInstanceId() { return this.dbInstanceId; } public DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem setDuration(String duration) { this.duration = duration; return this; } public String getDuration() { return this.duration; } public DescribeInstanceAutoRenewalAttributeResponseBodyItemsItem setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } } public static class DescribeInstanceAutoRenewalAttributeResponseBodyItems extends TeaModel { @NameInMap("Item") public java.util.List item; public static DescribeInstanceAutoRenewalAttributeResponseBodyItems build(java.util.Map map) throws Exception { DescribeInstanceAutoRenewalAttributeResponseBodyItems self = new DescribeInstanceAutoRenewalAttributeResponseBodyItems(); return TeaModel.build(map, self); } public DescribeInstanceAutoRenewalAttributeResponseBodyItems setItem(java.util.List item) { this.item = item; return this; } public java.util.List getItem() { return this.item; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy