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

com.aliyun.sdk.service.polardb20170801.models.DescribeDBClustersWithBackupsRequest Maven / Gradle / Ivy

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

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeDBClustersWithBackupsRequest} extends {@link RequestModel}
 *
 * 

DescribeDBClustersWithBackupsRequest

*/ public class DescribeDBClustersWithBackupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBClusterDescription") private String DBClusterDescription; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBClusterIds") private String DBClusterIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBType") private String DBType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBVersion") private String DBVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IsDeleted") private Integer isDeleted; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeDBClustersWithBackupsRequest(Builder builder) { super(builder); this.DBClusterDescription = builder.DBClusterDescription; this.DBClusterIds = builder.DBClusterIds; this.DBType = builder.DBType; this.DBVersion = builder.DBVersion; this.isDeleted = builder.isDeleted; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeDBClustersWithBackupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBClusterDescription */ public String getDBClusterDescription() { return this.DBClusterDescription; } /** * @return DBClusterIds */ public String getDBClusterIds() { return this.DBClusterIds; } /** * @return DBType */ public String getDBType() { return this.DBType; } /** * @return DBVersion */ public String getDBVersion() { return this.DBVersion; } /** * @return isDeleted */ public Integer getIsDeleted() { return this.isDeleted; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder { private String DBClusterDescription; private String DBClusterIds; private String DBType; private String DBVersion; private Integer isDeleted; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeDBClustersWithBackupsRequest request) { super(request); this.DBClusterDescription = request.DBClusterDescription; this.DBClusterIds = request.DBClusterIds; this.DBType = request.DBType; this.DBVersion = request.DBVersion; this.isDeleted = request.isDeleted; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** *

The name of the cluster. The name must meet the following requirements:

*
    *
  • It cannot start with http:// or https://.
  • *
  • It must be 2 to 256 characters in length.
  • *
* * example: *

test

*/ public Builder DBClusterDescription(String DBClusterDescription) { this.putQueryParameter("DBClusterDescription", DBClusterDescription); this.DBClusterDescription = DBClusterDescription; return this; } /** *

The ID of the cluster. If you need to specify multiple cluster IDs, separate the cluster IDs with commas (,).

* * example: *

pc-**************

*/ public Builder DBClusterIds(String DBClusterIds) { this.putQueryParameter("DBClusterIds", DBClusterIds); this.DBClusterIds = DBClusterIds; return this; } /** *

The type of the database engine. Valid values:

*
    *
  • MySQL
  • *
  • PostgreSQL
  • *
  • Oracle
  • *
* * example: *

MySQL

*/ public Builder DBType(String DBType) { this.putQueryParameter("DBType", DBType); this.DBType = DBType; return this; } /** *

The version of the database engine.

*
    *
  • Valid values for the MySQL database engine:

    *
      *
    • 5.6
    • *
    • 5.7
    • *
    • 8.0
    • *
    *
  • *
  • Valid values for the PostgreSQL database engine:

    *
      *
    • 11
    • *
    • 14
    • *
    *
  • *
  • Valid value for the Oracle database engine: 11

    *
  • *
* * example: *

8.0

*/ public Builder DBVersion(String DBVersion) { this.putQueryParameter("DBVersion", DBVersion); this.DBVersion = DBVersion; return this; } /** *

Specifies whether the cluster is deleted. Valid values:

*
    *
  • 0: not deleted
  • *
  • 1: deleted
  • *
* * example: *

0

*/ public Builder isDeleted(Integer isDeleted) { this.putQueryParameter("IsDeleted", isDeleted); this.isDeleted = isDeleted; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** *

The number of the page to return. The value must be a positive integer that does not exceed the maximum value of the INTEGER data type. Default value: 1.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** *

The number of entries to return on each page. Valid values:

*
    *
  • 30
  • *
  • 50
  • *
  • 100
  • *
*

Default value: 30.

* * example: *

30

*/ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** *

The region ID of the cluster.

*
*

You can call the DescribeRegions operation to query information about regions.

*
*

This parameter is required.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

The ID of the resource group.

* * example: *

rg-************

*/ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeDBClustersWithBackupsRequest build() { return new DescribeDBClustersWithBackupsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy