public class RocketMQNamespace extends AbstractModel
Constructor and Description |
---|
RocketMQNamespace() |
RocketMQNamespace(RocketMQNamespace 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 |
---|---|
String |
getNamespaceId()
Get Namespace name, which can contain 3–64 letters, digits, hyphens, and underscores
|
String |
getRemark()
Get Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
Long |
getRetentionTime()
Get Retention period for persisted messages in milliseconds
|
Long |
getTtl()
Get Retention period for unconsumed messages in milliseconds.
|
void |
setNamespaceId(String NamespaceId)
Set Namespace name, which can contain 3–64 letters, digits, hyphens, and underscores
|
void |
setRemark(String Remark)
Set Remarks
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setRetentionTime(Long RetentionTime)
Set Retention period for persisted messages in milliseconds
|
void |
setTtl(Long Ttl)
Set Retention period for unconsumed messages in milliseconds.
|
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 RocketMQNamespace()
public RocketMQNamespace(RocketMQNamespace source)
public String getNamespaceId()
public void setNamespaceId(String NamespaceId)
NamespaceId
- Namespace name, which can contain 3–64 letters, digits, hyphens, and underscorespublic Long getTtl()
public void setTtl(Long Ttl)
Ttl
- Retention period for unconsumed messages in milliseconds. Valid range: 60 seconds–15 days.public Long getRetentionTime()
public void setRetentionTime(Long RetentionTime)
RetentionTime
- Retention period for persisted messages in millisecondspublic String getRemark()
public void setRemark(String Remark)
Remark
- Remarks
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.