Class RocketMQNamespace
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.RocketMQNamespace
-
public class RocketMQNamespace extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInternalEndpoint()Get 内部接入点地址 注意:此字段可能返回 null,表示取不到有效值。StringgetNamespaceId()Get 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”StringgetPublicEndpoint()Get 公网接入点地址 注意:此字段可能返回 null,表示取不到有效值。StringgetRemark()Get 说明 注意:此字段可能返回 null,表示取不到有效值。LonggetRetentionTime()Get 消息持久化后保留的时间,以毫秒单位LonggetTtl()Get 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天StringgetVpcEndpoint()Get VPC接入点地址 注意:此字段可能返回 null,表示取不到有效值。voidsetInternalEndpoint(String InternalEndpoint)Set 内部接入点地址 注意:此字段可能返回 null,表示取不到有效值。voidsetNamespaceId(String NamespaceId)Set 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”voidsetPublicEndpoint(String PublicEndpoint)Set 公网接入点地址 注意:此字段可能返回 null,表示取不到有效值。voidsetRemark(String Remark)Set 说明 注意:此字段可能返回 null,表示取不到有效值。voidsetRetentionTime(Long RetentionTime)Set 消息持久化后保留的时间,以毫秒单位voidsetTtl(Long Ttl)Set 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天voidsetVpcEndpoint(String VpcEndpoint)Set VPC接入点地址 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RocketMQNamespace
public RocketMQNamespace()
-
RocketMQNamespace
public 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.
-
-
Method Detail
-
getNamespaceId
public String getNamespaceId()
Get 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”- Returns:
- NamespaceId 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
-
setNamespaceId
public void setNamespaceId(String NamespaceId)
Set 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”- Parameters:
NamespaceId- 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”
-
getTtl
public Long getTtl()
Get 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天- Returns:
- Ttl 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天
-
setTtl
public void setTtl(Long Ttl)
Set 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天- Parameters:
Ttl- 已废弃,未消费消息的保留时间,以毫秒单位,范围60秒到15天
-
getRetentionTime
public Long getRetentionTime()
Get 消息持久化后保留的时间,以毫秒单位- Returns:
- RetentionTime 消息持久化后保留的时间,以毫秒单位
-
setRetentionTime
public void setRetentionTime(Long RetentionTime)
Set 消息持久化后保留的时间,以毫秒单位- Parameters:
RetentionTime- 消息持久化后保留的时间,以毫秒单位
-
getRemark
public String getRemark()
Get 说明 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Remark 说明 注意:此字段可能返回 null,表示取不到有效值。
-
setRemark
public void setRemark(String Remark)
Set 说明 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Remark- 说明 注意:此字段可能返回 null,表示取不到有效值。
-
getPublicEndpoint
public String getPublicEndpoint()
Get 公网接入点地址 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PublicEndpoint 公网接入点地址 注意:此字段可能返回 null,表示取不到有效值。
-
setPublicEndpoint
public void setPublicEndpoint(String PublicEndpoint)
Set 公网接入点地址 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PublicEndpoint- 公网接入点地址 注意:此字段可能返回 null,表示取不到有效值。
-
getVpcEndpoint
public String getVpcEndpoint()
Get VPC接入点地址 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- VpcEndpoint VPC接入点地址 注意:此字段可能返回 null,表示取不到有效值。
-
setVpcEndpoint
public void setVpcEndpoint(String VpcEndpoint)
Set VPC接入点地址 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
VpcEndpoint- VPC接入点地址 注意:此字段可能返回 null,表示取不到有效值。
-
getInternalEndpoint
public String getInternalEndpoint()
Get 内部接入点地址 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- InternalEndpoint 内部接入点地址 注意:此字段可能返回 null,表示取不到有效值。
-
setInternalEndpoint
public void setInternalEndpoint(String InternalEndpoint)
Set 内部接入点地址 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
InternalEndpoint- 内部接入点地址 注意:此字段可能返回 null,表示取不到有效值。
-
-