Class CreateTopicResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.CreateTopicResponse
-
public class CreateTopicResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateTopicResponse()
CreateTopicResponse(CreateTopicResponse 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 String
getEnvironmentId()
Get 环境(命名空间)名称。Long
getPartitions()
Get 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)String
getRemark()
Get 备注,128字符以内。 注意:此字段可能返回 null,表示取不到有效值。String
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。String
getTopicName()
Get 主题名。Long
getTopicType()
Get 0: 普通消息; 1 :全局顺序消息; 2 :局部顺序消息; 3 :重试队列; 4 :死信队列; 注意:此字段可能返回 null,表示取不到有效值。void
setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)名称。void
setPartitions(Long Partitions)
Set 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)void
setRemark(String Remark)
Set 备注,128字符以内。 注意:此字段可能返回 null,表示取不到有效值。void
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。void
setTopicName(String TopicName)
Set 主题名。void
setTopicType(Long TopicType)
Set 0: 普通消息; 1 :全局顺序消息; 2 :局部顺序消息; 3 :重试队列; 4 :死信队列; 注意:此字段可能返回 null,表示取不到有效值。void
toMap(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
-
CreateTopicResponse
public CreateTopicResponse()
-
CreateTopicResponse
public CreateTopicResponse(CreateTopicResponse 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
-
getEnvironmentId
public String getEnvironmentId()
Get 环境(命名空间)名称。- Returns:
- EnvironmentId 环境(命名空间)名称。
-
setEnvironmentId
public void setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)名称。- Parameters:
EnvironmentId
- 环境(命名空间)名称。
-
getTopicName
public String getTopicName()
Get 主题名。- Returns:
- TopicName 主题名。
-
setTopicName
public void setTopicName(String TopicName)
Set 主题名。- Parameters:
TopicName
- 主题名。
-
getPartitions
public Long getPartitions()
Get 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)- Returns:
- Partitions 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)
-
setPartitions
public void setPartitions(Long Partitions)
Set 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)- Parameters:
Partitions
- 0或1:非分区topic,无分区;大于1:具体分区topic的分区数。(存量非分区主题返回0,增量非分区主题返回1)
-
getRemark
public String getRemark()
Get 备注,128字符以内。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Remark 备注,128字符以内。 注意:此字段可能返回 null,表示取不到有效值。
-
setRemark
public void setRemark(String Remark)
Set 备注,128字符以内。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Remark
- 备注,128字符以内。 注意:此字段可能返回 null,表示取不到有效值。
-
getTopicType
public Long getTopicType()
Get 0: 普通消息; 1 :全局顺序消息; 2 :局部顺序消息; 3 :重试队列; 4 :死信队列; 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TopicType 0: 普通消息; 1 :全局顺序消息; 2 :局部顺序消息; 3 :重试队列; 4 :死信队列; 注意:此字段可能返回 null,表示取不到有效值。
-
setTopicType
public void setTopicType(Long TopicType)
Set 0: 普通消息; 1 :全局顺序消息; 2 :局部顺序消息; 3 :重试队列; 4 :死信队列; 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TopicType
- 0: 普通消息; 1 :全局顺序消息; 2 :局部顺序消息; 3 :重试队列; 4 :死信队列; 注意:此字段可能返回 null,表示取不到有效值。
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-