public class ModifyTopicAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyTopicAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getMaxMsgSize()
Get Maximum message length.
|
Long |
getMsgRetentionSeconds()
Get Message retention period.
|
String |
getTopicName()
Get Topic name, which is unique under the same account in an individual 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 is unique under the same account in an individual 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Topic name, which is unique under the same account in an individual region. It is a string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).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 © 2020. All rights reserved.