Class Partitions
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.Partitions
-
public class Partitions extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Partitions()Partitions(Partitions 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 LonggetOffset()Get partition 消费位移LonggetPartition()Get 分区voidsetOffset(Long Offset)Set partition 消费位移voidsetPartition(Long Partition)Set 分区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
-
Partitions
public Partitions()
-
Partitions
public Partitions(Partitions 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
-
getPartition
public Long getPartition()
Get 分区- Returns:
- Partition 分区
-
setPartition
public void setPartition(Long Partition)
Set 分区- Parameters:
Partition- 分区
-
getOffset
public Long getOffset()
Get partition 消费位移- Returns:
- Offset partition 消费位移
-
setOffset
public void setOffset(Long Offset)
Set partition 消费位移- Parameters:
Offset- partition 消费位移
-
-