Class DescribeTopicResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trocket.v20230308.models.DescribeTopicResponse
-
public class DescribeTopicResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeTopicResponse()DescribeTopicResponse(DescribeTopicResponse 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 LonggetCreatedTime()Get 创建时间,秒为单位StringgetInstanceId()Get 实例IDLonggetLastUpdateTime()Get 最后写入时间,秒为单位StringgetRemark()Get 备注StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。LonggetSubscriptionCount()Get 订阅数量SubscriptionData[]getSubscriptionData()Get 订阅关系列表StringgetTopic()Get 主题名称StringgetTopicType()Get 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息voidsetCreatedTime(Long CreatedTime)Set 创建时间,秒为单位voidsetInstanceId(String InstanceId)Set 实例IDvoidsetLastUpdateTime(Long LastUpdateTime)Set 最后写入时间,秒为单位voidsetRemark(String Remark)Set 备注voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetSubscriptionCount(Long SubscriptionCount)Set 订阅数量voidsetSubscriptionData(SubscriptionData[] SubscriptionData)Set 订阅关系列表voidsetTopic(String Topic)Set 主题名称voidsetTopicType(String TopicType)Set 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息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
-
DescribeTopicResponse
public DescribeTopicResponse()
-
DescribeTopicResponse
public DescribeTopicResponse(DescribeTopicResponse 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- Returns:
- InstanceId 实例ID
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID- Parameters:
InstanceId- 实例ID
-
getTopic
public String getTopic()
Get 主题名称- Returns:
- Topic 主题名称
-
setTopic
public void setTopic(String Topic)
Set 主题名称- Parameters:
Topic- 主题名称
-
getTopicType
public String getTopicType()
Get 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息- Returns:
- TopicType 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息
-
setTopicType
public void setTopicType(String TopicType)
Set 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息- Parameters:
TopicType- 主题类型 UNSPECIFIED:未指定, NORMAL:普通消息, FIFO:顺序消息, DELAY:延时消息, TRANSACTION:事务消息
-
getRemark
public String getRemark()
Get 备注- Returns:
- Remark 备注
-
setRemark
public void setRemark(String Remark)
Set 备注- Parameters:
Remark- 备注
-
getCreatedTime
public Long getCreatedTime()
Get 创建时间,秒为单位- Returns:
- CreatedTime 创建时间,秒为单位
-
setCreatedTime
public void setCreatedTime(Long CreatedTime)
Set 创建时间,秒为单位- Parameters:
CreatedTime- 创建时间,秒为单位
-
getLastUpdateTime
public Long getLastUpdateTime()
Get 最后写入时间,秒为单位- Returns:
- LastUpdateTime 最后写入时间,秒为单位
-
setLastUpdateTime
public void setLastUpdateTime(Long LastUpdateTime)
Set 最后写入时间,秒为单位- Parameters:
LastUpdateTime- 最后写入时间,秒为单位
-
getSubscriptionCount
public Long getSubscriptionCount()
Get 订阅数量- Returns:
- SubscriptionCount 订阅数量
-
setSubscriptionCount
public void setSubscriptionCount(Long SubscriptionCount)
Set 订阅数量- Parameters:
SubscriptionCount- 订阅数量
-
getSubscriptionData
public SubscriptionData[] getSubscriptionData()
Get 订阅关系列表- Returns:
- SubscriptionData 订阅关系列表
-
setSubscriptionData
public void setSubscriptionData(SubscriptionData[] SubscriptionData)
Set 订阅关系列表- Parameters:
SubscriptionData- 订阅关系列表
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-