public class ModifyTopicAttributeRequest extends AbstractModel
| Constructor and Description | 
|---|
| ModifyTopicAttributeRequest() | 
| ModifyTopicAttributeRequest(ModifyTopicAttributeRequest 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 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, toJsonStringpublic ModifyTopicAttributeRequest()
public ModifyTopicAttributeRequest(ModifyTopicAttributeRequest source)
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 © 2022. All rights reserved.