public class ModifyCmqTopicAttributeRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyCmqTopicAttributeRequest() |
ModifyCmqTopicAttributeRequest(ModifyCmqTopicAttributeRequest 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 |
getMaxMsgSize()
Get Maximum message length.
|
Long |
getMsgRetentionSeconds()
Get Message retention period.
|
String |
getTopicName()
Get Topic name, which must be unique under the same account in the same region.
|
Boolean |
getTrace()
Get Whether to enable message trace.
|
void |
setMaxMsgSize(Long MaxMsgSize)
Set Maximum message length.
|
void |
setMsgRetentionSeconds(Long MsgRetentionSeconds)
Set Message retention period.
|
void |
setTopicName(String TopicName)
Set Topic name, which must be unique 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 ModifyCmqTopicAttributeRequest()
public ModifyCmqTopicAttributeRequest(ModifyCmqTopicAttributeRequest source)
public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Topic name, which must be unique 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 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.Copyright © 2024. All rights reserved.