Class DescribeDCDBShardsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dcdb.v20180411.models.DescribeDCDBShardsRequest
-
public class DescribeDCDBShardsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeDCDBShardsRequest()DescribeDCDBShardsRequest(DescribeDCDBShardsRequest 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInstanceId()Get 实例ID,形如:dcdbt-ow728lmc。LonggetLimit()Get 返回数量,默认为 20,最大值为 100。LonggetOffset()Get 偏移量,默认为 0StringgetOrderBy()Get 排序字段, 目前仅支持 createtimeStringgetOrderByType()Get 排序类型, desc 或者 ascString[]getShardInstanceIds()Get 分片ID列表。voidsetInstanceId(String InstanceId)Set 实例ID,形如:dcdbt-ow728lmc。voidsetLimit(Long Limit)Set 返回数量,默认为 20,最大值为 100。voidsetOffset(Long Offset)Set 偏移量,默认为 0voidsetOrderBy(String OrderBy)Set 排序字段, 目前仅支持 createtimevoidsetOrderByType(String OrderByType)Set 排序类型, desc 或者 ascvoidsetShardInstanceIds(String[] ShardInstanceIds)Set 分片ID列表。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeDCDBShardsRequest
public DescribeDCDBShardsRequest()
-
DescribeDCDBShardsRequest
public DescribeDCDBShardsRequest(DescribeDCDBShardsRequest 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,形如:dcdbt-ow728lmc。- Returns:
- InstanceId 实例ID,形如:dcdbt-ow728lmc。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID,形如:dcdbt-ow728lmc。- Parameters:
InstanceId- 实例ID,形如:dcdbt-ow728lmc。
-
getShardInstanceIds
public String[] getShardInstanceIds()
Get 分片ID列表。- Returns:
- ShardInstanceIds 分片ID列表。
-
setShardInstanceIds
public void setShardInstanceIds(String[] ShardInstanceIds)
Set 分片ID列表。- Parameters:
ShardInstanceIds- 分片ID列表。
-
getOffset
public Long getOffset()
Get 偏移量,默认为 0- Returns:
- Offset 偏移量,默认为 0
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为 0- Parameters:
Offset- 偏移量,默认为 0
-
getLimit
public Long getLimit()
Get 返回数量,默认为 20,最大值为 100。- Returns:
- Limit 返回数量,默认为 20,最大值为 100。
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为 20,最大值为 100。- Parameters:
Limit- 返回数量,默认为 20,最大值为 100。
-
getOrderBy
public String getOrderBy()
Get 排序字段, 目前仅支持 createtime- Returns:
- OrderBy 排序字段, 目前仅支持 createtime
-
setOrderBy
public void setOrderBy(String OrderBy)
Set 排序字段, 目前仅支持 createtime- Parameters:
OrderBy- 排序字段, 目前仅支持 createtime
-
getOrderByType
public String getOrderByType()
Get 排序类型, desc 或者 asc- Returns:
- OrderByType 排序类型, desc 或者 asc
-
setOrderByType
public void setOrderByType(String OrderByType)
Set 排序类型, desc 或者 asc- Parameters:
OrderByType- 排序类型, desc 或者 asc
-
-