Class RenewDBInstanceRequest

    • Constructor Detail

      • RenewDBInstanceRequest

        public RenewDBInstanceRequest()
      • RenewDBInstanceRequest

        public RenewDBInstanceRequest​(RenewDBInstanceRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getInstanceId

        public String getInstanceId()
        Get 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
        Returns:
        InstanceId 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
      • setInstanceId

        public void setInstanceId​(String InstanceId)
        Set 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
        Parameters:
        InstanceId - 待续费的实例ID。形如:tdsql-ow728lmc,可以通过 DescribeDBInstances 查询实例详情获得。
      • getPeriod

        public Long getPeriod()
        Get 续费时长,单位:月。
        Returns:
        Period 续费时长,单位:月。
      • setPeriod

        public void setPeriod​(Long Period)
        Set 续费时长,单位:月。
        Parameters:
        Period - 续费时长,单位:月。
      • getAutoVoucher

        public Boolean getAutoVoucher()
        Get 是否自动使用代金券进行支付,默认不使用。
        Returns:
        AutoVoucher 是否自动使用代金券进行支付,默认不使用。
      • setAutoVoucher

        public void setAutoVoucher​(Boolean AutoVoucher)
        Set 是否自动使用代金券进行支付,默认不使用。
        Parameters:
        AutoVoucher - 是否自动使用代金券进行支付,默认不使用。
      • getVoucherIds

        public String[] getVoucherIds()
        Get 代金券ID列表,目前仅支持指定一张代金券。
        Returns:
        VoucherIds 代金券ID列表,目前仅支持指定一张代金券。
      • setVoucherIds

        public void setVoucherIds​(String[] VoucherIds)
        Set 代金券ID列表,目前仅支持指定一张代金券。
        Parameters:
        VoucherIds - 代金券ID列表,目前仅支持指定一张代金券。