Class DatahubTopicDTO
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ckafka.v20190819.models.DatahubTopicDTO
-
public class DatahubTopicDTO extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DatahubTopicDTO()DatahubTopicDTO(DatahubTopicDTO 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 StringgetName()Get 名称StringgetNote()Get 备注LonggetPartitionNum()Get 分区数LonggetRetentionMs()Get 过期时间LonggetStatus()Get 状态,1使用中,2删除中StringgetTopicId()Get Topic IdStringgetTopicName()Get Topic名称voidsetName(String Name)Set 名称voidsetNote(String Note)Set 备注voidsetPartitionNum(Long PartitionNum)Set 分区数voidsetRetentionMs(Long RetentionMs)Set 过期时间voidsetStatus(Long Status)Set 状态,1使用中,2删除中voidsetTopicId(String TopicId)Set Topic IdvoidsetTopicName(String TopicName)Set Topic名称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
-
DatahubTopicDTO
public DatahubTopicDTO()
-
DatahubTopicDTO
public DatahubTopicDTO(DatahubTopicDTO 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
-
getName
public String getName()
Get 名称- Returns:
- Name 名称
-
setName
public void setName(String Name)
Set 名称- Parameters:
Name- 名称
-
getTopicName
public String getTopicName()
Get Topic名称- Returns:
- TopicName Topic名称
-
setTopicName
public void setTopicName(String TopicName)
Set Topic名称- Parameters:
TopicName- Topic名称
-
getTopicId
public String getTopicId()
Get Topic Id- Returns:
- TopicId Topic Id
-
setTopicId
public void setTopicId(String TopicId)
Set Topic Id- Parameters:
TopicId- Topic Id
-
getPartitionNum
public Long getPartitionNum()
Get 分区数- Returns:
- PartitionNum 分区数
-
setPartitionNum
public void setPartitionNum(Long PartitionNum)
Set 分区数- Parameters:
PartitionNum- 分区数
-
getRetentionMs
public Long getRetentionMs()
Get 过期时间- Returns:
- RetentionMs 过期时间
-
setRetentionMs
public void setRetentionMs(Long RetentionMs)
Set 过期时间- Parameters:
RetentionMs- 过期时间
-
getNote
public String getNote()
Get 备注- Returns:
- Note 备注
-
setNote
public void setNote(String Note)
Set 备注- Parameters:
Note- 备注
-
getStatus
public Long getStatus()
Get 状态,1使用中,2删除中- Returns:
- Status 状态,1使用中,2删除中
-
setStatus
public void setStatus(Long Status)
Set 状态,1使用中,2删除中- Parameters:
Status- 状态,1使用中,2删除中
-
-