Class GroupOffsetTopic
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.GroupOffsetTopic
-
public class GroupOffsetTopic extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description GroupOffsetTopic()GroupOffsetTopic(GroupOffsetTopic 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 GroupOffsetPartition[]getPartitions()Get 该主题分区数组,其中每个元素为一个 json object 注意:此字段可能返回 null,表示取不到有效值。StringgetTopic()Get 主题名称voidsetPartitions(GroupOffsetPartition[] Partitions)Set 该主题分区数组,其中每个元素为一个 json object 注意:此字段可能返回 null,表示取不到有效值。voidsetTopic(String Topic)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
-
GroupOffsetTopic
public GroupOffsetTopic()
-
GroupOffsetTopic
public GroupOffsetTopic(GroupOffsetTopic 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
-
getTopic
public String getTopic()
Get 主题名称- Returns:
- Topic 主题名称
-
setTopic
public void setTopic(String Topic)
Set 主题名称- Parameters:
Topic- 主题名称
-
getPartitions
public GroupOffsetPartition[] getPartitions()
Get 该主题分区数组,其中每个元素为一个 json object 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Partitions 该主题分区数组,其中每个元素为一个 json object 注意:此字段可能返回 null,表示取不到有效值。
-
setPartitions
public void setPartitions(GroupOffsetPartition[] Partitions)
Set 该主题分区数组,其中每个元素为一个 json object 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Partitions- 该主题分区数组,其中每个元素为一个 json object 注意:此字段可能返回 null,表示取不到有效值。
-
-