com.tencentcloudapi.cdb.v20170320.models.DescribeBackupSummariesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cdb.v20170320.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeBackupSummariesRequest extends AbstractModel{
/**
* TencentDB product type to be queried. Currently, only `mysql` is supported.
*/
@SerializedName("Product")
@Expose
private String Product;
/**
* Pagination offset.
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* Paginated query limit. Default value: 20.
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* Sorting criterion. Valid values: BackupVolume (backup capacity), DataBackupVolume (data backup capacity), BinlogBackupVolume (log backup capacity), AutoBackupVolume (automatic backup capacity), ManualBackupVolume (manual backup capacity).
*/
@SerializedName("OrderBy")
@Expose
private String OrderBy;
/**
* Sorting order. Valid values: ASC (ascending), DESC (descending).
*/
@SerializedName("OrderDirection")
@Expose
private String OrderDirection;
/**
* Get TencentDB product type to be queried. Currently, only `mysql` is supported.
* @return Product TencentDB product type to be queried. Currently, only `mysql` is supported.
*/
public String getProduct() {
return this.Product;
}
/**
* Set TencentDB product type to be queried. Currently, only `mysql` is supported.
* @param Product TencentDB product type to be queried. Currently, only `mysql` is supported.
*/
public void setProduct(String Product) {
this.Product = Product;
}
/**
* Get Pagination offset.
* @return Offset Pagination offset.
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set Pagination offset.
* @param Offset Pagination offset.
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get Paginated query limit. Default value: 20.
* @return Limit Paginated query limit. Default value: 20.
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set Paginated query limit. Default value: 20.
* @param Limit Paginated query limit. Default value: 20.
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get Sorting criterion. Valid values: BackupVolume (backup capacity), DataBackupVolume (data backup capacity), BinlogBackupVolume (log backup capacity), AutoBackupVolume (automatic backup capacity), ManualBackupVolume (manual backup capacity).
* @return OrderBy Sorting criterion. Valid values: BackupVolume (backup capacity), DataBackupVolume (data backup capacity), BinlogBackupVolume (log backup capacity), AutoBackupVolume (automatic backup capacity), ManualBackupVolume (manual backup capacity).
*/
public String getOrderBy() {
return this.OrderBy;
}
/**
* Set Sorting criterion. Valid values: BackupVolume (backup capacity), DataBackupVolume (data backup capacity), BinlogBackupVolume (log backup capacity), AutoBackupVolume (automatic backup capacity), ManualBackupVolume (manual backup capacity).
* @param OrderBy Sorting criterion. Valid values: BackupVolume (backup capacity), DataBackupVolume (data backup capacity), BinlogBackupVolume (log backup capacity), AutoBackupVolume (automatic backup capacity), ManualBackupVolume (manual backup capacity).
*/
public void setOrderBy(String OrderBy) {
this.OrderBy = OrderBy;
}
/**
* Get Sorting order. Valid values: ASC (ascending), DESC (descending).
* @return OrderDirection Sorting order. Valid values: ASC (ascending), DESC (descending).
*/
public String getOrderDirection() {
return this.OrderDirection;
}
/**
* Set Sorting order. Valid values: ASC (ascending), DESC (descending).
* @param OrderDirection Sorting order. Valid values: ASC (ascending), DESC (descending).
*/
public void setOrderDirection(String OrderDirection) {
this.OrderDirection = OrderDirection;
}
public DescribeBackupSummariesRequest() {
}
/**
* 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.
*/
public DescribeBackupSummariesRequest(DescribeBackupSummariesRequest source) {
if (source.Product != null) {
this.Product = new String(source.Product);
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.OrderBy != null) {
this.OrderBy = new String(source.OrderBy);
}
if (source.OrderDirection != null) {
this.OrderDirection = new String(source.OrderDirection);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Product", this.Product);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamSimple(map, prefix + "OrderBy", this.OrderBy);
this.setParamSimple(map, prefix + "OrderDirection", this.OrderDirection);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy