public class CreateCmqTopicRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateCmqTopicRequest() |
CreateCmqTopicRequest(CreateCmqTopicRequest 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getFilterType()
Get Used to specify the message match policy for the topic.
|
Long |
getMaxMsgSize()
Get Maximum message length.
|
Long |
getMsgRetentionSeconds()
Get Message retention period.
|
Tag[] |
getTags()
Get Tag array.
|
String |
getTopicName()
Get Topic name, which must be unique in the same topic under the same account in the same region.
|
Boolean |
getTrace()
Get Whether to enable message trace.
|
void |
setFilterType(Long FilterType)
Set Used to specify the message match policy for the topic.
|
void |
setMaxMsgSize(Long MaxMsgSize)
Set Maximum message length.
|
void |
setMsgRetentionSeconds(Long MsgRetentionSeconds)
Set Message retention period.
|
void |
setTags(Tag[] Tags)
Set Tag array.
|
void |
setTopicName(String TopicName)
Set Topic name, which must be unique in the same topic under the same account in the same region.
|
void |
setTrace(Boolean Trace)
Set Whether to enable message trace.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateCmqTopicRequest()
public CreateCmqTopicRequest(CreateCmqTopicRequest source)
public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Topic name, which must be unique in the same topic under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter.public Long getMaxMsgSize()
public void setMaxMsgSize(Long MaxMsgSize)
MaxMsgSize
- Maximum message length. Value range: 1024–65536 bytes (i.e., 1–64 KB). Default value: 65536.public Long getFilterType()
public void setFilterType(Long FilterType)
FilterType
- Used to specify the message match policy for the topic. 1: tag match policy (default value); 2: routing match policy.public Long getMsgRetentionSeconds()
public void setMsgRetentionSeconds(Long MsgRetentionSeconds)
MsgRetentionSeconds
- Message retention period. Value range: 60–86400 seconds (i.e., 1 minute–1 day). Default value: 86400.public Boolean getTrace()
public void setTrace(Boolean Trace)
Trace
- Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag array.Copyright © 2024. All rights reserved.