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 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
String |
getPublicEndpoint()
Get 公网接入点地址
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRemark()
Get 说明
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRetentionTime()
Get 消息持久化后保留的时间,以毫秒单位
|
Long |
getTtl()
Get 未消费消息的保留时间,以毫秒单位,范围60秒到15天
|
String |
getVpcEndpoint()
Get VPC接入点地址
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setNamespaceId(String NamespaceId)
Set 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
|
void |
setPublicEndpoint(String PublicEndpoint)
Set 公网接入点地址
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRemark(String Remark)
Set 说明
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRetentionTime(Long RetentionTime)
Set 消息持久化后保留的时间,以毫秒单位
|
void |
setTtl(Long Ttl)
Set 未消费消息的保留时间,以毫秒单位,范围60秒到15天
|
void |
setVpcEndpoint(String VpcEndpoint)
Set VPC接入点地址
注意:此字段可能返回 null,表示取不到有效值。
|
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
- 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”public Long getTtl()
public void setTtl(Long Ttl)
Ttl
- 未消费消息的保留时间,以毫秒单位,范围60秒到15天public Long getRetentionTime()
public void setRetentionTime(Long RetentionTime)
RetentionTime
- 消息持久化后保留的时间,以毫秒单位public String getRemark()
public void setRemark(String Remark)
Remark
- 说明
注意:此字段可能返回 null,表示取不到有效值。public String getPublicEndpoint()
public void setPublicEndpoint(String PublicEndpoint)
PublicEndpoint
- 公网接入点地址
注意:此字段可能返回 null,表示取不到有效值。public String getVpcEndpoint()
public void setVpcEndpoint(String VpcEndpoint)
VpcEndpoint
- VPC接入点地址
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.