Class CreateRocketMQNamespaceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.CreateRocketMQNamespaceRequest
-
public class CreateRocketMQNamespaceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateRocketMQNamespaceRequest()
CreateRocketMQNamespaceRequest(CreateRocketMQNamespaceRequest 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 String
getClusterId()
Get 集群IDString
getNamespaceId()
Get 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”String
getRemark()
Get 说明,最大128个字符Long
getRetentionTime()
Get 已废弃Long
getTtl()
Get 已废弃void
setClusterId(String ClusterId)
Set 集群IDvoid
setNamespaceId(String NamespaceId)
Set 命名空间名称,3-64个字符,只能包含字母、数字、“-”及“_”void
setRemark(String Remark)
Set 说明,最大128个字符void
setRetentionTime(Long RetentionTime)
Set 已废弃void
setTtl(Long Ttl)
Set 已废弃void
toMap(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
-
CreateRocketMQNamespaceRequest
public CreateRocketMQNamespaceRequest()
-
CreateRocketMQNamespaceRequest
public CreateRocketMQNamespaceRequest(CreateRocketMQNamespaceRequest 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
-
getClusterId
public String getClusterId()
Get 集群ID- Returns:
- ClusterId 集群ID
-
setClusterId
public void setClusterId(String ClusterId)
Set 集群ID- Parameters:
ClusterId
- 集群ID
-
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 已废弃- Returns:
- Ttl 已废弃
-
setTtl
public void setTtl(Long Ttl)
Set 已废弃- Parameters:
Ttl
- 已废弃
-
getRetentionTime
public Long getRetentionTime()
Get 已废弃- Returns:
- RetentionTime 已废弃
-
setRetentionTime
public void setRetentionTime(Long RetentionTime)
Set 已废弃- Parameters:
RetentionTime
- 已废弃
-
getRemark
public String getRemark()
Get 说明,最大128个字符- Returns:
- Remark 说明,最大128个字符
-
setRemark
public void setRemark(String Remark)
Set 说明,最大128个字符- Parameters:
Remark
- 说明,最大128个字符
-
-