com.aliyun.dds20151201.models.DescribeInstanceAutoRenewalAttributeRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dds20151201.models;
import com.aliyun.tea.*;
public class DescribeInstanceAutoRenewalAttributeRequest extends TeaModel {
/**
* The ID of the instance.
*
* example:
* dds-bp567b****
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
/**
* The category of the instance. Valid values:
*
* - replicate: the standalone or replica set instance
* - sharding: the sharded cluster instance
*
* Default value: replicate.
*
* example:
* replicate
*/
@NameInMap("DBInstanceType")
public String DBInstanceType;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The number of the page to return. The value must be a positive integer that does not exceed the maximum value of the Integer parameter. Default value: 1.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Long pageNumber;
/**
* The number of entries to return on each page. Valid values: 30, 50, and 100.
*
* Default value: 30.
*
*
* example:
* 30
*/
@NameInMap("PageSize")
public Long pageSize;
/**
* The region ID of the instance. You can call the DescribeDBInstanceAttribute operation to query the region ID of the instance.
* This parameter is required.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
public static DescribeInstanceAutoRenewalAttributeRequest build(java.util.Map map) throws Exception {
DescribeInstanceAutoRenewalAttributeRequest self = new DescribeInstanceAutoRenewalAttributeRequest();
return TeaModel.build(map, self);
}
public DescribeInstanceAutoRenewalAttributeRequest setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public DescribeInstanceAutoRenewalAttributeRequest setDBInstanceType(String DBInstanceType) {
this.DBInstanceType = DBInstanceType;
return this;
}
public String getDBInstanceType() {
return this.DBInstanceType;
}
public DescribeInstanceAutoRenewalAttributeRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public DescribeInstanceAutoRenewalAttributeRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public DescribeInstanceAutoRenewalAttributeRequest setPageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Long getPageNumber() {
return this.pageNumber;
}
public DescribeInstanceAutoRenewalAttributeRequest setPageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
public Long getPageSize() {
return this.pageSize;
}
public DescribeInstanceAutoRenewalAttributeRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public DescribeInstanceAutoRenewalAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public DescribeInstanceAutoRenewalAttributeRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
}