Class ModifyTopicRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.ModifyTopicRequest
-
public class ModifyTopicRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyTopicRequest()
ModifyTopicRequest(ModifyTopicRequest 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
getClusterId()
Get Pulsar 集群的IDString
getEnvironmentId()
Get 环境(命名空间)名称。Long
getMsgTTL()
Get 未消费消息过期时间,单位:秒,取值范围:60秒~15天。Long
getPartitions()
Get 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。String
getRemark()
Get 备注,128字符以内。String
getTopicName()
Get 主题名。void
setClusterId(String ClusterId)
Set Pulsar 集群的IDvoid
setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)名称。void
setMsgTTL(Long MsgTTL)
Set 未消费消息过期时间,单位:秒,取值范围:60秒~15天。void
setPartitions(Long Partitions)
Set 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。void
setRemark(String Remark)
Set 备注,128字符以内。void
setTopicName(String TopicName)
Set 主题名。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
-
ModifyTopicRequest
public ModifyTopicRequest()
-
ModifyTopicRequest
public ModifyTopicRequest(ModifyTopicRequest 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 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。- Returns:
- Partitions 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。
-
setPartitions
public void setPartitions(Long Partitions)
Set 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。- Parameters:
Partitions
- 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。
-
getClusterId
public String getClusterId()
Get Pulsar 集群的ID- Returns:
- ClusterId Pulsar 集群的ID
-
setClusterId
public void setClusterId(String ClusterId)
Set Pulsar 集群的ID- Parameters:
ClusterId
- Pulsar 集群的ID
-
getRemark
public String getRemark()
Get 备注,128字符以内。- Returns:
- Remark 备注,128字符以内。
-
setRemark
public void setRemark(String Remark)
Set 备注,128字符以内。- Parameters:
Remark
- 备注,128字符以内。
-
getMsgTTL
public Long getMsgTTL()
Get 未消费消息过期时间,单位:秒,取值范围:60秒~15天。- Returns:
- MsgTTL 未消费消息过期时间,单位:秒,取值范围:60秒~15天。
-
setMsgTTL
public void setMsgTTL(Long MsgTTL)
Set 未消费消息过期时间,单位:秒,取值范围:60秒~15天。- Parameters:
MsgTTL
- 未消费消息过期时间,单位:秒,取值范围:60秒~15天。
-
-